Errors when compiling Apache
| From: | Stephen Gordon | Date: | Sat, 01 Apr 2000 17:57:51 +0000 |
| Subject: | Errors when compiling Apache | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12994@lists.php.net to get a copy of this message | ||
I have tried to install Apache 1.3.11/PHP4 ORC1/MySQL 3.22.32. I
installed MySQL via rpms, and then followed the directions in the
INSTALL file from the PHP4 tarball.
# tar -zxvf apache_1.3.11.tar.gz
# tar -zxvf php-4.0RC1.tar.gz
# cd apache_1.3.11
# ./configure
# cd ../php-4.0RC1
# ./configure --with-mysql --with-apache=../apache_1.3.11
--enable-track-vars
# make
# make install
# cd ../apache_1.3.11
# ./configure --prefix=/home/httpd
--activate-module=src/modules/php4/libphp4.a
# make
When i do this, i get errors:
===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX
-DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED
../../apaci
mod_php4.c
mod_php4.c:24: zend.h: No such file or directory
mod_php4.c:25: php.h: No such file or directory
mod_php4.c:26: php_variables.h: No such file or directory
mod_php4.c:27: SAPI.h: No such file or directory
mod_php4.c:44: php_ini.h: No such file or directory
mod_php4.c:45: php_globals.h: No such file or directory
mod_php4.c:46: SAPI.h: No such file or directory
mod_php4.c:47: main.h: No such file or directory
mod_php4.c:49: zend_compile.h: No such file or directory
mod_php4.c:50: zend_execute.h: No such file or directory
mod_php4.c:51: zend_highlight.h: No such file or directory
mod_php4.c:52: zend_indent.h: No such file or directory
mod_php4.c:54: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/apache_1.3.11/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/apache_1.3.11'
make: *** [build] Error 2
Can anyone help?
Stephen