Re: PHP configure
| From: | Thomas Holton | Date: | Tue, 21 Nov 2000 20:41:03 +0000 |
| Subject: | Re: PHP configure | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26517@lists.php.net to get a copy of this message | ||
thanks for the tip, and once i did remove the pesky config.cache, i have
been able to compile and install php4 with gd, thanks! but, maybe you can
help with this now: I went back into apache_1.3.12 to reconfigure that
\and activate the new php4 :
./configure --activate-module=src/modules/php4/libphp4.a
it configured, then,during make, once it gets to mod_php4.c, it tells me
it cannot find many files, like zend.h... maybe in need some kind of
directive? thanks again!
here is the output from the make:
===> 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: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:47: php_ini.h: No such file or directory
mod_php4.c:48: php_globals.h: No such file or directory
mod_php4.c:49: SAPI.h: No such file or directory
mod_php4.c:50: php_main.h: No such file or directory
mod_php4.c:52: zend_compile.h: No such file or directory
mod_php4.c:53: zend_execute.h: No such file or directory
mod_php4.c:54: zend_highlight.h: No such file or directory
mod_php4.c:55: zend_indent.h: No such file or directory
mod_php4.c:57: 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 `/usr/local/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
make: *** [build] Error 2
[ROOT:apache_1.3.12]# locate mod_php4.c
/usr/local/src/php-4.0.3pl1/sapi/apache/mod_php4.c
/usr/local/src/apache_1.3.12/src/modules/php4/mod_php4.c
[ROOT:apache_1.3.12]# locate zend.c
/usr/local/src/php-4.0.3pl1/Zend/zend.c
--------------
--------------
--------------
On Tue, 21 Nov 2000, Jani Taskinen wrote:
> On Tue, 21 Nov 2000, Thomas Holton wrote:
>
> >---> What is especially interesting about these error messages is that
> >PHP is looking for GIF routines, which the newest GD does not have due to
> >copyright problems, or something, and GD only works with PNG now. Why is
> >PHP demanding GIF routines? I dont remember this problem the first time i
> >installed GD, but it must have been there since both GD and php sources
> >are the same.
>
> Did you delete config.cache before reconfiguring php?
> Also 'make clean' after configure is a good thing to do before
> 'make'. For just to be sure..
>
> And are you 100% sure you have removed ALL of those old GD header
> file from your system? Using --with-gd=/path/to/gd is also recommended.
>
> --Jani
>