php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9129 Compiling Errors
Submitted: 2001-02-06 08:41 UTC Modified: 2001-02-06 08:55 UTC
From: wildwayz at clara dot co dot uk Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 4.0.4pl1 OS: RedHat 5.2
Private report: No CVE-ID: None
 [2001-02-06 08:41 UTC] wildwayz at clara dot co dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-06 08:44 UTC] 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:55 UTC] wildwayz at clara dot co dot uk
Also MySQL is version 3.21.33
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Feb 20 17:01:26 2019 UTC