From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 7.1
PHP version:      4.0.5
PHP Bug Type:     Compile Failure
Bug description:  Apache make fails, can't find php header files

apache_1.3.19# ./configure --prefix=/usr/local/apache
php-4.05# ./configure --with-mysql --enable-track-vars
--with-apache=../apache_1.3.19
php-4.05# make -ok, make install - ok
apache_1.3.19# ./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libmodphp4.a - ok
apache_1.3.19# make -errors see below

gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX
-DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` 
mod_ph4.c
mod_php4.c:28:18: zend.h: No such file or directory
mod_php4.c:29:17: php.h: No such file or directory
mod_php4.c:30:27: php_variables.h: No such file or directory
mod_php4.c:47:21: php_ini.h: No such file or directory
mod_php4.c:48:25: php_globals.h: No such file or directory
mod_php4.c:49:18: SAPI.h: No such file or directory
mod_php4.c:50:22: php_main.h: No such file or directory
mod_php4.c:52:26: zend_compile.h: No such file or directory
mod_php4.c:53:26: zend_execute.h: No such file or directory
mod_php4.c:54:28: zend_highlight.h: No such file or directory
mod_php4.c:55:25: zend_indent.h: No such file or directory
mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
etc.

I tried to change the gcc command to include the /usr/local/include
directory in which the missing files are located (well they are under that
directory) however it caused another bunch of dependency problems.

I have had this problem with Redhat7.0 all versions of php and apache I
could get my hands on.

I can't find any reports of this problem, and don't see what I may be doing
wrong.
-- 
Edit bug report at: http://bugs.php.net/?id=12616&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to