ID: 39697 Updated by: [EMAIL PROTECTED] Reported By: michael dot v dot kells at uscg dot mil -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Centos PHP Version: 5.2.0 New Comment:
There are no such options: --with-zlibdir –with-gd Please try with ./configure --disable-all --with-apxs2=/www/bin/apxs Previous Comments: ------------------------------------------------------------------------ [2006-12-01 13:09:57] michael dot v dot kells at uscg dot mil I am sorry I do have ld loaded and the version is 2.15.92.0.2 ------------------------------------------------------------------------ [2006-12-01 13:02:52] michael dot v dot kells at uscg dot mil Here are the versions that I have loaded on Centos 4.3 kernel 2.6.9-42.0.3.EL i686. zlib-1.2.1.2-1.2, gd-2.0.28-4.4E.1, mysql-5.0.27, apache-2.2.3, autoconf-2.59-5, gcc-3.4.6-3, and I do not have ld installed on this system ------------------------------------------------------------------------ [2006-11-30 21:41:50] [EMAIL PROTECTED] I'm unable to reproduce this. Please provide more information on the steps required to replicate and software versions used (apache, autoconf, ld, gcc and others). ------------------------------------------------------------------------ [2006-11-30 18:20:29] michael dot v dot kells at uscg dot mil Description: ------------ I have searched and read through all of the other bug reports mentioning this same error and found them all to be not very helpful. This is on a x86 linux distribution with x86 libraries of everything. When I run the configure script like so: ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/usr/include –with-gd The configure script works fine. The make script runs fine as well. Everything looks good until I run the make install script then I get the error: [EMAIL PROTECTED] php-5.2.0]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules /www/build/libtool --mode=install cp libphp5.la /www/modules/ cp .libs/libphp5.lai /www/modules/libphp5.la cp .libs/libphp5.a /www/modules/libphp5.a ranlib /www/modules/libphp5.a chmod 644 /www/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /tmp/cacti_install/php-5.2.0/libs' Warning! dlname not found in /www/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /www/modules/libphp5.so chmod: cannot access `/www/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 Reproduce code: --------------- ./configure --with-apxs2=/www/bin/apxs --with-mysqli make make install Expected result: ---------------- I expect PHP 5.2.0 to be to compiled with out erroe and to work well. Actual result: -------------- [EMAIL PROTECTED] php-5.2.0]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules /www/build/libtool --mode=install cp libphp5.la /www/modules/ cp .libs/libphp5.lai /www/modules/libphp5.la cp .libs/libphp5.a /www/modules/libphp5.a ranlib /www/modules/libphp5.a chmod 644 /www/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /tmp/cacti_install/php-5.2.0/libs' Warning! dlname not found in /www/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /www/modules/libphp5.so chmod: cannot access `/www/modules/libphp5.so': No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39697&edit=1