ID:               31901
 Updated by:       [EMAIL PROTECTED]
 Reported By:      minnoce at polito dot it
-Status:           Open
+Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Linux RH 7-3
 PHP Version:      4.3.10
 New Comment:

Also tested and confirmed with curl-7.10.x.

Fixed in CVS


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

[2005-02-09 16:42:10] minnoce at polito dot it

Description:
------------
Attempting to configure PHP with libcurl with:

./configure --with-curl=/services/curl

where "/service/curl" is the path for my libcurl installation.

The configure stops with:

checking for CURL support... yes
checking for cURL 7.9.8 or greater... ./configure: curl-config: command
not found
configure: error: cURL version 7.9.8 or later is required to compile
php with cURL support

Looking in the configure script for the code testing CURL, I see:
(line 20151) if ${CURL_DIR}/bin/curl-config --libs print > /dev/null
2>&1; then

That's the problem:
the curl-config program don't like "print" command, and omitting it:
(line 20151 modified) if ${CURL_DIR}/bin/curl-config --libs > /dev/null
2>&1; then

all work fine!

The same bug is present in PHP 5.0.3 configure.

Thanks,
Mauro



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


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

Reply via email to