ID: 13065
Updated by: sander
Reported By: [EMAIL PROTECTED]
Status: Bogus
Old Bug Type: MySQL related
Bug Type: *Compile Issues
Operating System: Red Hat Linux 6.0
PHP Version: 4.0.6
New Comment:
You must add --with-zlib to the configure line of PHP, not of Apache. If needed,
specify the installation path of zlib.
Previous Comments:
------------------------------------------------------------------------
[2001-08-31 09:51:54] [EMAIL PROTECTED]
Ok, sorry I search in this database and I don't found nothing equal to this error.
I try configure with your suggestion and I get:
-------------------------------------------------
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
configure:Error: invalid option '--with-zlib'
-------------------------------------------------
What can I do now??
------------------------------------------------------------------------
[2001-08-30 19:27:28] [EMAIL PROTECTED]
Add --with-zlib to your configure line.
And next time search the bug database first before
submitting bogus reports.
------------------------------------------------------------------------
[2001-08-30 15:48:30] [EMAIL PROTECTED]
I compiled PHP with this line:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
./configure --with-mysql=/usr/local/mysql --with-config-file-path=/www/conf
--with-apache=../httpd --enable-track-vars
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When I try to add PHP module to Apache, I received this erros when run Make.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress
':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_a
lloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/etc/apache_1.3.20/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/etc/apache_1.3.20'
make: *** [build] Error 2
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13065&edit=1
--
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]