PHP5 installed fine with curl 7.15.5, now it fails with curl 7.16.0. See below. Any ideas on what to do about this? Is there a problem with curl 7.16.0? Mark /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile /usr/bin/gcc-4.0 -Iext/curl/ -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/ -DPHP_ATOM_INC -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/main -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/date/lib -I/opt/local/include/freetype2 -I/opt/local/include/c-client -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/mbstring/oniguruma -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/mbstring/libmbfl -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/mbstring/libmbfl/mbfl -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/mysql5/include/mysql -I/opt/local/include/mysql5/mysql -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/TSRM -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/Zend -no-cpp-precomp -I/opt/local/include -I/opt/local/include/c-client -c /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c -o ext/curl/interface.lo /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c: In function 'zm_startup_curl': /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:372: error: 'CURLOPT_FTPASCII' undeclared (first use in this function) /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:372: error: (Each undeclared identifier is reported only once /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:372: error: for each function it appears in.) /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:412: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c: In function 'zif_curl_copy_handle': /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:1164: error: 'CURLOPT_PASSWDDATA' undeclared (first use in this function) /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c: In function 'zif_curl_setopt_array': /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:1610: warning: pointer targets in passing argument 3 of 'zend_hash_get_current_key_ex' differ in signedness /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.2.0/ext/curl/interface.c:1610: warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness make: *** [ext/curl/interface.lo] Error 1 Warning: the following items did not execute (for php5): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing.
On Dec 12, 2006, at 11:16, Mark Duling wrote:
PHP5 installed fine with curl 7.15.5, now it fails with curl 7.16.0. See below. Any ideas on what to do about this? Is there a problem with curl 7.16.0?
I noticed the same just as your message arrived. I'll try compiling php manually enabling just curl; if the problem persists, I'll submit a bug report to the php group.
On Dec 12, 2006, at 6:55 PM, Ryan Schmidt wrote:
On Dec 12, 2006, at 11:16, Mark Duling wrote:
PHP5 installed fine with curl 7.15.5, now it fails with curl 7.16.0. See below. Any ideas on what to do about this? Is there a problem with curl 7.16.0?
I noticed the same just as your message arrived. I'll try compiling php manually enabling just curl; if the problem persists, I'll submit a bug report to the php group.
A bug has already been filed: http://trac.macports.org/projects/ macports/ticket/11115 Post up there if compiling manually works out; I'm sure a bunch of those folks would be really happy to hear it.
On Dec 12, 2006, at 11:16, Mark Duling wrote:
PHP5 installed fine with curl 7.15.5, now it fails with curl 7.16.0. See below. Any ideas on what to do about this? Is there a problem with curl 7.16.0?
Ok, I confirmed that the problem does occur outside of MacPorts; it's a PHP bug. I also see that a bug report has already been filed: http://bugs.php.net/bug.php?id=39354 It's fixed in PHP's CVS and will presumably be in PHP 5.2.1. I'll see if I can find the specific change that was made and include it in the portfile....
On Dec 12, 2006, at 18:44, Andy Kish wrote:
On Dec 12, 2006, at 6:55 PM, Ryan Schmidt wrote:
On Dec 12, 2006, at 11:16, Mark Duling wrote:
PHP5 installed fine with curl 7.15.5, now it fails with curl 7.16.0. See below. Any ideas on what to do about this? Is there a problem with curl 7.16.0?
I noticed the same just as your message arrived. I'll try compiling php manually enabling just curl; if the problem persists, I'll submit a bug report to the php group.
A bug has already been filed: http://trac.macports.org/projects/ macports/ticket/11115
Post up there if compiling manually works out; I'm sure a bunch of those folks would be really happy to hear it.
Thanks Andy; I've resolved bug 11115 now. Do a "sudo port sync" and then you should be able to install (or reinstall) php5.
participants (3)
-
Andy Kish
-
Mark Duling
-
Ryan Schmidt