From:             minnoce at polito dot it
Operating system: Linux RH 7-3
PHP version:      4.3.10
PHP Bug Type:     *Configuration Issues
Bug description:  Configure fails with curl 7.12.3 / 7.13.0

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 bug report at http://bugs.php.net/?id=31901&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31901&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31901&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31901&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31901&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31901&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31901&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31901&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31901&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31901&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31901&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31901&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31901&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31901&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31901&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31901&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31901&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31901&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31901&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31901&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31901&r=mysqlcfg

Reply via email to