PHP 4.0 Bug #9129 Updated: Compiling Errors
| From: | wildwayz at clara dot co dot uk | Date: | Tue, 06 Feb 2001 13:55:44 +0000 |
| Subject: | PHP 4.0 Bug #9129 Updated: Compiling Errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45848@lists.php.net to get a copy of this message | ||
ID: 9129
User Update by: wildwayz@clara.co.uk
Status: Bogus
Bug Type: *Install and Config
Description: Compiling Errors
Also MySQL is version 3.21.33
Previous Comments:
---------------------------------------------------------------------------
[2001-02-06 08:44:54] derick@php.net
I don't think this is a bug, php/apache compiles find on RedHat 5.2 for me. Try asking on the
php-install@lists.php.net mailinglist. If you are certain this is a bug, please reopen this bug
report.
---------------------------------------------------------------------------
[2001-02-06 08:41:18] wildwayz@clara.co.uk
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9129