ID: 9129
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
I don't think this is a bug, php/apache compiles find on RedHat 5.2 for me. Try asking 
on the [EMAIL PROTECTED] mailinglist. If you are certain this is a bug, please 
reopen this bug report.

---------------------------------------------------------------------------

[2001-02-06 08:41:18] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to