|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-11-20 06:19 UTC] jay3ld at yahoo dot com
Description: ------------ While building php 5.3 on my Macbook pro running 10.5 leopard. It will not complete the compile. 5.2 works just fine. The only thing I changed between 5.3 and 5.2 compiles is the prefix into different directories. After It completes I check the /home/php53/bin directory and no php or php-cli file exists. As well as the .so file is not created. I do have php 5.2 compiled as well on the same machine in a different directory (/home/php52) and it will compile just fine. As well until I used --without-pear I also received a pear error. Using Apache 2.2.6 Reproduce code: --------------- This is what the make install outputs: Installing PHP SAPI module: apache2handler /home/apache/build/instdso.sh SH_LIBTOOL='/home/apache/build/libtool' libs/libphp5.so /home/apache/modules /home/apache/build/libtool --mode=install cp libs/libphp5.so /home/apache/modules/ cp libs/libphp5.so /home/apache/modules/libphp5.so Warning! dlname not found in /home/apache/modules/libphp5.so. Assuming installing a .so rather than a libtool archive. chmod 755 /home/apache/modules/libphp5.so [activating module `php5' in /home/apache/conf/httpd.conf] Installing PHP CLI binary: /home/php53/bin/ Installing PHP CLI man page: /usr/share/man/man1/ Installing build environment: /home/php53/lib/php/build/ Installing header files: /home/php53/include/php/ Installing helper programs: /home/php53/bin/ program: phpize program: php-config Installing man pages: /usr/share/man/man1/ page: phpize.1 page: php-config.1 Installing PDO headers: /home/php53/include/php/ext/pdo/ If I don't include --without-pear I receive this as well: Installing PEAR environment: /home/php53/lib/php/ No download utilities found. Don\'t know how to download PEAR archive. +----------------------------------------------------------------------+ | The installation process is incomplete. The following resources were | | not installed: | | | | PEAR: PHP Extension and Application Repository | | | | To install these components, | | download http://pear.php.net/install-pear.phar to php-src/pear/ | | become the superuser and execute: | | | | # make install-su | +----------------------------------------------------------------------+ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 20:00:02 2025 UTC |
I'm having the same issue on AIX 5.3 64-bit PPC. Build complete. Don't forget to run 'make test'. # make test echo '\ \ Build complete. Don't forget to run 'make test'. ERROR: Cannot run tests without CLI sapi. # make install echo '\ \ Installing PHP SAPI module: nsapi cp: libs/libphp5.so: No such file or directory make: 1254-004 The error code from the last command is 1. Stop. The main directory has a libphp5.la file -rw-r--r-- 1 root system 2234 Dec 07 16:28 libphp5.la # cd libs # ls -l total 16704 -rw-r--r-- 1 root system 8547783 Dec 07 16:28 libphp5.a -rw-r--r-- 1 root system 2235 Dec 07 16:28 libphp5.la The libphp5.la file in the libs directory is not the same size.