Opened 13 years ago

Last modified 13 years ago

#29201 closed defect

php5-curl: cURL version 7.10.5 or later is required to compile php with cURL support — at Version 1

Reported by: phpcurlnotworking@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: curl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Mac OS X Server 10.6.6 (Snow Leopard)

Was doing a normal 'port selfupdate' and 'port upgrade outdated' when php5-curl failed to update to @5.3.6. Tried a number of things including 'port clean php5-curl' and 'port uninstall php5-curl'.

Here's the relevant output:

--->  Configuring php5-curl
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for php5-curl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-curl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Here are the relevant log entries:

:info:configure checking if we should use cURL for url streams... no
:info:configure checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-curl/work/php-5.3.6/ext/curl" && ./configure --prefix=/opt/local --with-curl=/opt/local " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for php5-curl): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for php5-curl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-curl/main.log

'port installed' shows:

...
  curl @7.21.5_0+ssl (active)
  curl-ca-bundle @7.21.5_0 (active)
...

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: php5-curl removed
Owner: changed from macports-tickets@… to ryandesign@…
Summary: 'port install/upgrade php5-curl' not workingphp5-curl: cURL version 7.10.5 or later is required to compile php with cURL support

I've corrected your WikiFormatting.

Note: See TracTickets for help on using tickets.