#29201: php5-curl: cURL version 7.10.5 or later is required to compile php with cURL support ----------------------------------------------+----------------------------- Reporter: phpcurlnotworking@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: php5-curl ----------------------------------------------+----------------------------- Comment(by ddebernardy@…): The issue seems to be line 4459 in configure: {{{ curl_version=`echo ${curl_version_full} | sed -e 's/libcurl //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` }}} Problem is this: {{{ DB:~ $ curl --version curl 7.21.5 (x86_64-apple-darwin10.7.0) libcurl/7.21.5 OpenSSL/1.0.0d zlib/1.2.5 libidn/1.20 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp Features: IDN IPv6 Largefile NTLM SSL libz }}} The sed -e part is incorrect, and the awk part seems to have its own issues: {{{ DB:~ $ echo 7.21.5 | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}' 7021005 DB:~ $ curl --version | sed -e 's/lib//' | sed -e 's/curl //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 100 * 1000 + $3;}' 702100500 }}} -- Ticket URL: <https://trac.macports.org/ticket/29201#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS