Re: php error with *.h files ...

From: Date: Sun, 03 Sep 2000 20:12:44 +0000
Subject: Re: php error with *.h files ...
Groups: php.general 
Request: Send a blank email to php-general+get-14991@lists.php.net to get a copy of this message
Hello, The configuration line for php-4.0.2 was: /usr/local/apache_1.3.12/src/modules/mphp-4.0.2/./configure --with-apache=/usr/local/apache_1.3.12 --enable-track-vars for apache: /usr/local/apache_1.3.12/./configure --pref-x=/usr/local/apache --activate-module=src/modules/php4/libmodphp4.a Recently, I went into the configuration script in /usr/local/apache_1.3.12/src and added: EXTRA_LIBS = -L/usr/local/apache_1.3.12/src/modules/php4 -L/usr/local/apache_1.3.12/src/modules/php-4.0.2 -L/usr/local/apache_1.3.12/src/modules/php-4.0.2/main -L/usr/local/apache_1.3.12/src/modules/php-4.0.2/Zend EXTRA_INCLUDES = -I/usr/local/apache_1.3.12/src/modules/php4 -I/usr/local/apache_1.3.12/src/modules/php-4.0.2 -I/usr/local/apache_1.3.12/src/modules/php-4.0.2/main -I/usr/local/apache_1.3.12/src/modules/php-4.0.2/Zend now I get the error: _DL_NEEDED ../../apaci mod_setenvif.c rm -f libstandard.a ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_status.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o ranlib libstandard.a <=== src/modules/standard ===> src/modules/php4 make[4]: *** No rule to make target libphp4.aclear', needed by lib'. Stop. make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/local/apache_1.3.12/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/apache_1.3.12' make: *** [build] Error 2 [root@system2 apache_1.3.12]# >> I am having trouble getting my apache 1.3.12 version to work >> statically on my Linux box. I compiled php4 without errors, but when >> I recompile apache, it get the following error... > >What was your PHP configure line? And did you do a 'make install' >afterwards? If you follow the steps in the INSTALL file it will work >fine. >-Rasmus

« previous php.general (#14991) next »