ID: 5668
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
Operating System: TurnoLinux 4.0 (TurboCluster)
PHP Version: 4.0.1pl2
New Comment:
My problem disappeared when I wrote exactly "libphp4.a" when
configuring
apache (the second time you call ./configure)
# ./configure --prefix=/usr/local/apache \
--enable-module=rewrite \
--activate-module=src/modules/php4/libphp4.a
At first I didn't use libphp4.a because that file doesn't exists, so I
thought that was an error but it isn't.
I hope this is useful
Previous Comments:
------------------------------------------------------------------------
[2002-12-14 02:09:49] [EMAIL PROTECTED]
I had the same problem. And I didn't remove my php folder.
------------------------------------------------------------------------
[2000-08-01 01:11:12] [EMAIL PROTECTED]
I didn't remove the directories, they are all still there.
------------------------------------------------------------------------
[2000-07-31 14:58:54] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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