[MacPorts] #29201: php5-curl: cURL version 7.10.5 or later is required to compile php with cURL support

MacPorts noreply at macports.org
Tue Apr 19 04:46:56 PDT 2011


#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@…):

 Replying to [comment:2 ryandesign@…]:
 > Could you attach the config.log for php5-curl? It might show us why it
 failed to find curl.

 I've the same issue, but there doesn't seem to be any such file... Here's
 the contents of main.log:

 {{{

 DB:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-curl
 $ cat main.log
 version:1
 :msg:main --->  Computing dependencies for php5-curl:info:main
 .:debug:main Searching for dependency: php5
 :debug:main Found Dependency: receipt exists for php5
 :debug:main Searching for dependency: curl
 :debug:main Found Dependency: receipt exists for curl
 :msg:main
 :debug:main Executing org.macports.main (php5-curl)
 :debug:main Skipping completed org.macports.fetch (php5-curl)
 :debug:main Skipping completed org.macports.checksum (php5-curl)
 :debug:main setting option extract.cmd to /usr/bin/bzip2
 :debug:main Skipping completed org.macports.extract (php5-curl)
 :debug:main Skipping completed org.macports.patch (php5-curl)
 :msg:main --->  Configuring php5-curl
 :debug:main Using compiler 'Mac OS X gcc 4.2'
 :debug:configure configure phase started at Tue Apr 19 13:45:57 CEST 2011
 :debug:configure Executing proc-pre-org.macports.configure-configure-0
 :debug:configure Generating configure script in curl
 :info:configure Configuring for:
 :info:configure PHP Api Version:         20090626
 :info:configure Zend Module Api No:      20090626
 :info:configure Zend Extension Api No:   220090626
 :info:configure configure.in:3: warning: prefer named diversions
 :info:configure configure.in:3: warning: prefer named diversions
 :debug:configure Executing proc-pre-org.macports.configure-configure-1
 :debug:configure Executing org.macports.configure (php5-curl)
 :debug:configure Configuring in curl
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
 x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
 CXX='/usr/bin/g++-4.2'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-curl/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
 OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install
 -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64'
 CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
 :debug:configure Assembled 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'
 :info:configure checking for grep that handles long lines and -e...
 /usr/bin/grep
 :info:configure checking for egrep... /usr/bin/grep -E
 :info:configure checking for a sed that does not truncate output...
 /opt/local/bin/gsed
 :info:configure checking whether the C compiler works... yes
 :info:configure checking for C compiler default output file name... a.out
 :info:configure checking for suffix of executables...
 :info:configure checking whether we are cross compiling... no
 :info:configure checking for suffix of object files... o
 :info:configure checking whether we are using the GNU C compiler... yes
 :info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
 :info:configure checking for /usr/bin/gcc-4.2 option to accept ISO C89...
 none needed
 :info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2
 -E
 :info:configure checking for icc... no
 :info:configure checking for suncc... no
 :info:configure checking whether /usr/bin/gcc-4.2 and cc understand -c and
 -o together... yes
 :info:configure checking for system library directory... lib
 :info:configure checking if compiler supports -R... no
 :info:configure checking if compiler supports -Wl,-rpath,... yes
 :info:configure checking build system type... i386-apple-darwin10.7.0
 :info:configure checking host system type... i386-apple-darwin10.7.0
 :info:configure checking target system type... i386-apple-darwin10.7.0
 :info:configure checking for PHP prefix... /opt/local
 :info:configure checking for PHP includes... -I/opt/local/include/php
 -I/opt/local/include/php/main -I/opt/local/include/php/TSRM
 -I/opt/local/include/php/Zend -I/opt/local/include/php/ext
 -I/opt/local/include/php/ext/date/lib -I/opt/local/include
 :info:configure checking for PHP extension directory...
 /opt/local/lib/php/extensions/no-debug-non-zts-20090626
 :info:configure checking for PHP installed headers prefix...
 /opt/local/include/php
 :info:configure checking if debug is enabled... no
 :info:configure checking if zts is enabled... no
 :info:configure checking for re2c... no
 :info:configure configure: WARNING: You will need re2c 0.13.4 or later if
 you want to regenerate PHP parsers.
 :info:configure checking for gawk... gawk
 :info:configure checking for cURL support... yes, shared
 :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.destroot org.macports.configure
 org.macports.build
 :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

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/29201#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list