#5668 [Com]: Can't find the include files when...
| From: | dcadenas at ucu dot edu dot uy | Date: | Sat, 14 Dec 2002 08:09:50 +0000 |
| Subject: | #5668 [Com]: Can't find the include files when... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27677@lists.php.net to get a copy of this message | ||
ID: 5668
Comment by: dcadenas@ucu.edu.uy
Reported By: shawn.m@microcore.net
Status: Closed
Bug Type: Compile Failure
Operating System: TurnoLinux 4.0 (TurboCluster)
PHP Version: 4.0.1pl2
New Comment:
I had the same problem. And I didn't remove my php folder.
Previous Comments:
------------------------------------------------------------------------
[2000-08-01 01:11:12] shawn.m@microcore.net
I didn't remove the directories, they are all still there.
------------------------------------------------------------------------
[2000-07-31 14:58:54] sas@php.net
Don't remove the php-4.xx directory before compiling the Apache module.
That won't work (the header files are located there).
------------------------------------------------------------------------
[2000-07-19 02:04:46] shawn.m@microcore.net
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!! :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=5668&edit=1