|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-09 08:43 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
Description: ------------ I get this error on configure: checking for curl version >= 7.12.3... 7.12.3 configure: error: libcurl version greater or equal to 7.12.3 required The problem is that the check for libcurl version should be like the one for libz - if test `echo $CURL_VERSION | $AWK '{print $1*10000 + $2*100 + $3}'` -lt 71203; then + if test `echo $CURL_VERSION | $SED -e 's/[^0-9]/ /g' | $AWK '{print $1*10000 + $2*100 + $3}'` -lt 71203; then Without the sed, it's not splitting the version number, so you just get '7.12.3' * 10000 = 71200, so it thinks the version is too low.