ID: 43341 Comment by: geoffrey dot hughes at otago dot ac dot nz Reported By: jay3ld at yahoo dot com Status: Open Bug Type: Compile Failure Operating System: Mac os X 10.5 Leopard PHP Version: 5.3CVS-2007-11-20 (snap) New Comment:
I notice that after running make, I have a php binary in ./sapi/cli and I have a libphp5.so in ./libs/ but it doesn't seem to install them when I run "make install" Copying them manually to their correct locations works. Previous Comments: ------------------------------------------------------------------------ [2008-01-25 08:08:06] coder1 at gmail dot com I can reproduce the problem on CentOS 5.1. I took the configuration that came with a default install and re-compiled with 5.25. No php5lib.so is created or installed. ------------------------------------------------------------------------ [2007-12-07 20:40:14] b dot mcpherson at csuohio dot edu 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. ------------------------------------------------------------------------ [2007-12-05 18:16:45] jesse dot charbneau at cengagelearning dot com Hello, I wanted to provide an update to my earlier post. I have performed the exact same steps on Suse 10 Enterprise. PHP built and installed without issue, and I was able to install a module via pecl. Does anyone know if this is correctable for Suse 9? ------------------------------------------------------------------------ [2007-12-05 16:31:21] jesse dot charbneau at cengagelearning dot com Hello, I have experienced this issue on multiple Suse Enterprise (v9.0 - v9.3) systems. This is to be used with Apache 2.2.6. Apache was configured, compiled and installed with: ./configure --enable-so --enable-rewrite --prefix=/opt/apache-2.2.6 --with-included-apr make make install (as root) I have tried multiple releases in the 5.2.x series (5.2.5, 5.2.4, 5.2.2) and have not been able to successfully get any of them to install the php-cli. I have been able to get it to install the module for apache, and so phpinfo() works and returns the correct page, but the requirements for this project need the cli (DAST). Here is the configure statement I am using with php: ./configure --with-libdir=lib64 --with-apxs2=/opt/apache-2.2.6/bin/apxs --prefix=/opt/apache-2.2.6 --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-gd --with-openssl=/usr --enable-soap --enable-sockets --with-xmlrpc --with-xsl --with-curl --with-zlib --with-pear make (works fine) make install (as root) returns: -------------- Installing PHP SAPI module: apache2handler /opt/apache-2.2.6/build/instdso.sh SH_LIBTOOL='/opt/apache-2.2.6/build/libtool' libphp5.la /opt/apache-2.2.6/modules /opt/apache-2.2.6/build/libtool --mode=install cp libphp5.la /opt/apache-2.2.6/modules/ libtool: install: error: cannot install `libphp5.la' to a directory not ending in /usr/src/packages/jess_temp/php-5.2.2/libs apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 -------------- Is this something with the release? Or should I be looking to update Suse or something? I am going to try compiling it on a Suse 10 box and see what turns up. Thanks, Jess ------------------------------------------------------------------------ [2007-11-30 02:24:43] jay3ld at yahoo dot com I can say for fact I am no longer using the built in apache 2.0 or php. I have custom built apache 2.2 and it even shows under my phpinfo.php page I am using apache 2.2.6 (It is how I pulled this information up originally). I renamed the apachectl file in /usr/sbin to apachectl.old and made symlink to the new one in my /home directory so startup commands still use apachectl correctly. My httpd.conf specifically points at php directories as I run php 5.2 and php 6.0 at the moment and wanted to add 5.3 as another option to ensure my sites will operate in the future correctly when and if I upgrade to 5.3 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43341 -- Edit this bug report at http://bugs.php.net/?id=43341&edit=1