ID: 26319 User updated by: hylke at herbaldistribution dot com Reported By: hylke at herbaldistribution dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: linux redhat Opteron PHP Version: 4.3.4 New Comment:
I've run with ./configure --disable-all --with-apxs2= /usr/local/apache2/bin/apxs --disable-cli But still the same problem. I've updated the php source and the gcc to 3.2.3 Maybe the problem has something to do with the Opteron platform. Previous Comments: ------------------------------------------------------------------------ [2003-11-19 19:45:08] [EMAIL PROTECTED] Get 'fresh' sources of PHP 4.3.4 and try this configure line: # ./configure --disable-all --with-apxs2= /usr/local/apache2/bin/apxs --disable-cli btw. These configure options do not exist: --with-mod_charset --enable-mod_charset (this is for apache1 only) --enable-mysql --enable-ssl --with-ssl --with-ftp --with-trans-sid --enable-trans-sid Path to --with-zlib-dir is wrong. It should be just '/usr/local'. ------------------------------------------------------------------------ [2003-11-19 11:18:49] hylke at herbaldistribution dot com Description: ------------ I've got a problem installing the libphp4.so. When I have done 'make' the file libphp4.so.0 isn't created in the directory .libs or libs. Configure rule: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ftp --with-pear --with-mysql --enable-shared --with-trans-sid --enable-trans-sid --with-mod_charset --enable-mod_charset --with-zlib-dir=/usr/local/lib --enable-mysql --enable-ftp --with-ssl --enable-ssl Things I tried: - Changed the CFLAG - Edit the libtool file - Used the latest snapshot None of these things solved the problem. Reproduce code: --------------- Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a ranlib /usr/local/apache2/modules/libphp4.a chmod 644 /usr/local/apache2/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /usr/src/php-4.3.3/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp4.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp4.so chmod: failed to get attributes of `/usr/local/apache2/modules/libphp4.so': No such file or directory apxs:Error: Command failed with rc=65536 Expected result: ---------------- That the libphp4.so is created. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26319&edit=1