Re: [PHP4BETA] --with-apache=../apache_dir fails while compiling

From: Date: Tue, 01 Jun 1999 16:04:14 +0000
Subject: Re: [PHP4BETA] --with-apache=../apache_dir fails while compiling
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1236@lists.php.net to get a copy of this message
On Tue, 1 Jun 1999, Sascha Schumann wrote: >On Tue, Jun 01, 1999 at 01:12:39PM +0200, Davor Cengija wrote: >> ./configure --with-apache=../apache_1.3.6 --with-mysql --enable-track-vars >> >> passes with no problems. >> >> make failes on apache.c (calling php.h which calls httpd.h and >> the other apache include files). > >Could you point out why it is failing? Posting the output from make should >help. > >> here it is (using relative paths): Making all in ext make[1]: Entering directory `/opt2/davor/php4/php4/ext' Making all in apache make[2]: Entering directory `/opt2/davor/php4/php4/ext/apache' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix -I/opt2/local/mysql/include/mysql -I../.. -I../../libzend -g -O2 -c apache.c In file included from apache.c:33: ../../php.h:173: ap_config.h: No such file or directory ../../php.h:179: ap_compat.h: No such file or directory ../../php.h:181: httpd.h: No such file or directory ../../php.h:182: http_main.h: No such file or directory ../../php.h:183: http_core.h: No such file or directory ../../php.h:184: http_request.h: No such file or directory ../../php.h:185: http_protocol.h: No such file or directory ../../php.h:186: http_config.h: No such file or directory ../../php.h:187: http_log.h: No such file or directory apache.c:50: http_request.h: No such file or directory make[2]: *** [apache.o] Error 1 make[2]: Leaving directory `/opt2/davor/php4/php4/ext/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt2/davor/php4/php4/ext' make: *** [all-recursive] Error 1 [davor@kanta php4]$ editing php.h or apache.c won't help. -- v Davor Cengija davor@linuxfan.com ========================================== "No, thank you, please. I'm only lookin'."

« previous php.version4 (#1236) next »