ID:               36504
 Updated by:       [EMAIL PROTECTED]
 Reported By:      boonkit at gmail dot com
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: fedora core 3
 PHP Version:      4.4.2
 New Comment:

Why do you need to use --with-zlib-dir=/usr/local/zlib?
I bet every Linux has zlib in standard path and you don't need to pass
it explicitly.


Previous Comments:
------------------------------------------------------------------------

[2006-02-24 08:55:31] [EMAIL PROTECTED]

Put your config.log somewhere and provide the link.

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

[2006-02-24 03:58:17] boonkit at gmail dot com

Description:
------------
try compile mysql self contained extension with  ./configure
--with-php-config=/usr/local/php4.4.2/bin/php-config
--with-mysql=/usr/local/mysql-4.0 --with-zlib-dir=/usr/local/zlib

Failed with the messsage in config.log
/usr/local/mysql-4.0/lib/libmysqlclient.a(my_compress.o)(.text+0xb4):
In function `my_compress_alloc':
: undefined reference to `compress'
/usr/local/mysql-4.0/lib/libmysqlclient.a(my_compress.o)(.text+0x12a):
In function `my_uncompress':
: undefined reference to `uncompress'

Reproduce code:
---------------
./configure --with-php-config=/usr/local/php4.4.2/bin/php-config
--with-mysql=/usr/local/mysql-4.0 --with-zlib-dir=/usr/local/zlib

Expected result:
----------------
configure done, then can make

Actual result:
--------------
configure: error: mysql configure failed. Please check config.log for
more information.


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


-- 
Edit this bug report at http://bugs.php.net/?id=36504&edit=1

Reply via email to