Benjamin Tomhave schrieb: > 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).
maybe try an rpm package instead of compiling by yourself ? maybe migration 4.0.x to 4.3.x I consider to only get 4.3.0 and read the changelog. Every single step which is changed from version 4.0.x is documented so thats the point to start migrating I gues ... ;-) by the way ... you hacked the configure script ??? this is not the usual way to go ... in fact, after this nobody realy could help you cause you don't use the default !? > 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 did you #> make distclean/clean #> rm config.cache after you made any changes ? -- @ Goetz Lohmann, Germany | Web-Developer & Sys-Admin \/ ------------------------------------------------------ () He's the fellow that people wonder what he does and || why the company needs him, until he goes on vacation. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php