ID: 25443 Updated by: [EMAIL PROTECTED] Reported By: dtonn at packeteer dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RedHat 9.0 PHP Version: 4.3.3 New Comment:
We don't support 3rd party extensions. Please ask this kind of support questions elsewhere, for example [EMAIL PROTECTED] (as you're obviously doing something wrong here) Previous Comments: ------------------------------------------------------------------------ [2003-09-08 18:59:44] dtonn at packeteer dot com Description: ------------ With the existing RedHat 9.0 installation, I was able to build and install both Apache 2.0.47 and PHP 4.3.3. So far so good. Everything works. Then I added a module in the ext directory. As long as the module is in c, and is a single file, it STILL works! I am able to build the module, install PHP again, and have phpinfo call the info function of the module correctly. Still happy. But then I add additional files to the extension module. ./buildconf --force does not work properly, but provides some warnings that there are incompatible versions of autoconf and automake. (This was always the case, but everything worked with one file, so I ignored it.) I then changed the automake to automake-1.5 as indicated, and got the appropriate version of autoconf as well. The buildconf now works, generating a configure file which contains all of the correct filenames in my extension module. make clean - fine make - fine, compiles and links make install - fails in install-pear and install-pear-installer which are rules in the Makefile make install (run as root) now fails with this message: 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.so /usr/local/apache2/modules/libphp4.so cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /home/dtonn/ng2/user-pp/http/php-4.3.3/libs' chmod 755 /usr/local/apache2/modules/libphp4.so [activating module `php4' in /usr/local/apache2/conf/httpd.conf] Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ PHP Fatal error: Unable to start messagerouterclient module in Unknown on line 0 make[1]: *** [install-pear-installer] Error 254 make: *** [install-pear] Error 2 It appears to me that it is not possible to create a module for PHP using either the RedHat 9.0 distribution (not PHP's fault, but rather RH's) or the recommended versions of automake and autoconf. So far I have not been able to track down the line of code which actually dumps that error message. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25443&edit=1