PHP 4.0 Bug #5668: Can't find the include files when...
| From: | shawn dot m at microcore dot net | Date: | Wed, 19 Jul 2000 00:04:46 +0000 |
| Subject: | PHP 4.0 Bug #5668: Can't find the include files when... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25020@lists.php.net to get a copy of this message | ||
From: shawn.m@microcore.net
Operating system: TurnoLinux 4.0 (TurboCluster)
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: Can't find the include files when...
Ok... I'm trying to install PHP 4 (Latest version), crashes HTTPD when installed. Figured it
needed the latest version of Apache Web Server, went downloaded it, installed it (compiled then
installed)
I try making the DSO and static module, both times, same thing. I would like a static module, but
here's what I'm getting...
[root@centri src]# ./Configure
Using config file: Configuration
Creating Makefile
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in support
Creating Makefile in regex
Creating Makefile in os/unix
Creating Makefile in ap
Creating Makefile in main
Creating Makefile in lib/expat-lite
Creating Makefile in modules/standard
Creating Makefile in modules/php4
=====================
Great.. Everything looks great!! I'm happy.. Now let's run a make...
Output from 'make'
=============================
<=== modules/standard
===> modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite
-DNO_DL_NEEDED mod_php4.c
mod_php4.c:28: zend.h: No such file or directory
mod_php4.c:29: php.h: No such file or directory
mod_php4.c:30: php_variables.h: No such file or directory
mod_php4.c:31: SAPI.h: No such file or directory
mod_php4.c:48: php_ini.h: No such file or directory
mod_php4.c:49: php_globals.h: No such file or directory
mod_php4.c:50: SAPI.h: No such file or directory
mod_php4.c:51: php_main.h: No such file or directory
mod_php4.c:53: zend_compile.h: No such file or directory
mod_php4.c:54: zend_execute.h: No such file or directory
mod_php4.c:55: zend_highlight.h: No such file or directory
mod_php4.c:56: zend_indent.h: No such file or directory
mod_php4.c:58: ext/standard/php_standard.h: No such file or directory
make[2]: *** [mod_php4.o] Error 1
make[1]: *** [all] Error 1
make: *** [subdirs] Error 1
==============================
Crap.. what did I do wrong? There are files under the modules/php4 directory, but the include
(header) files are not there.
I've been working on this for about a week now, and I've read every FAQ and bug report
that I could. This is my last hope.. Now I just want some 12 year old to point out to me what
I'm doing wrong. (But you don't have to be 12 to reply and give help to me.. :) )
Thanks everyone!! :)