#31901 [Opn->Csd]: Configure fails with curl 7.12.3 / 7.13.0
| From: | rasmus@php.net | Date: | Wed, 09 Feb 2005 16:25:06 +0000 |
| Subject: | #31901 [Opn->Csd]: Configure fails with curl 7.12.3 / 7.13.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73710@lists.php.net to get a copy of this message | ||
ID: 31901
Updated by: rasmus@php.net
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