unique install, having problem
| From: | Benjamin Tomhave | Date: | Wed, 05 Feb 2003 00:33:24 +0000 |
| Subject: | unique install, having problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9948@lists.php.net to get a copy of this message | ||
Greetings,
I have a legacy site that has yet to migrated from 4.0.x to 4.3.x era code.
Ergo, I need to install PHP 4.0.6 on RedHat 8.0. I'm configuring with the
following options:
./configure --prefix=/usr --with-mysql=/usr --with-apxs=/usr/sbin/apxs
This seems to work ok (well, ok, I get a warning about apxs, but I "fixed"
the script to make the error go away and this did not resolve the compile
error).
When I compile, I end up with the following (this is just the last few
lines). I'm not exactly sure what the error really is that's causing the
compile to fail. I do not see any other errors prior to this. Was hoping
someone else might have experienced the same issue. Regardless, hoping to
find a solution asap. Anybody have any ideas?
make[3]: Leaving directory `/root/php-4.0.6/ext/xml'
make[2]: Leaving directory `/root/php-4.0.6/ext/xml'
make[1]: Leaving directory `/root/php-4.0.6/ext'
Making all in sapi
make[1]: Entering directory `/root/php-4.0.6/sapi'
Making all in apache
make[2]: Entering directory `/root/php-4.0.6/sapi/apache'
make[3]: Entering directory `/root/php-4.0.6/sapi/apache'
/bin/sh /root/php-4.0.6/libtool --silent --mode=compile
gcc -I. -I/root/php-4.0.6/sapi/apache -I/root/php-4.0.6/main -I/root/php-4.
0.6 -I/usr/include/httpd -I/root/php-4.0.6/Zend -I/usr/include/mysql -I/root
/php-4.0.6/ext/xml/expat/xmltok -I/root/php-4.0.6/ext/xml/expat/xmlparse -I/
root/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
sapi_apache.c
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:80: (Each undeclared identifier is reported only once
sapi_apache.c:80: for each function it appears in.)
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.6/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.6/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
Thank you,
-ben
--------------------------------------------
Benjamin Tomhave, Senior Systems Engineer
btomhave@sofast.net
Sofast Communications www.sofast.net