PHP 4.0 Bug #9129: Compiling Errors

From: Date: Tue, 06 Feb 2001 13:41:18 +0000
Subject: PHP 4.0 Bug #9129: Compiling Errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-45846@lists.php.net to get a copy of this message
From: wildwayz@clara.co.uk Operating system: RedHat 5.2 PHP version: 4.0.4pl1 PHP Bug Type: *Install and Config Bug description: Compiling Errors Hi, I am trying to upgrade from PHP3.0.7 to PHP4.0.4pl1 but I have had a nightmare. Noone can tell me if PHP4.0.4 can be installed on RedHat 5.2 so I have that to contend with too. Anyway I am compiling with ./configure --with-mysql=/usr/local/mysql --with-config-file-path=/home/www/conf --with-apache=/usr/lib/perl5/site_perl/i386-linux/auto/Apache --enable-track-vars and I get this... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... no configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib/perl5/site_perl/i386-linux/auto/Apache httpd.h is in the /usr/lib/perl5/site_perl/i386-linux/auto/Apache/include folder If I compile it without Apache, it is ok until I make it then I get /usr/local/mysql/lib/libmysqlclient.a(mf_format.o): In function `fn_format': mf_format.o(.text+0x201): undefined reference to `__lxstat64' /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o): In function `my_fopen': my_fopen.o(.text+0x21): undefined reference to `fopen64' make[1]: *** [php] Error 1 make[1]: Leaving directory `/home/webmaster/php-4.0.4pl1' make: *** [all-recursive] Error 1 Any ideas? Regards James -- Edit Bug report at: http://bugs.php.net/?id=9129&edit=1

« previous php.dev (#45846) next »