Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#11144 closed defect (fixed)

BUG: php5 failes to compile

Reported by: snrkiwi-ssl@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc:
Port: php5

Description

Variant: +apache2 +macosx +mysql5

Tried as an upgrade, failed with attached error. Moved aside my existing macports, downloaded 1.3.1 disk image, updated, and then tried to install php5. Same error.

Machine is iMac PPC G5 running 10.4.8.

Change History (7)

comment:1 Changed 18 years ago by snrkiwi-ssl@…

Additionally, install line is

sudo port install php5 +apache2 +macosx +mysql5

comment:2 Changed 18 years ago by snrkiwi-ssl@…

Installed ports are:

The following ports are currently installed:
  apache2 @2.2.3_2 (active)
  apr @1.2.7_0 (active)
  apr-util @1.2.7_1+no_bdb+no_sqlite+openldap (active)
  cclient @2004g_0 (active)
  curl @7.16.0_0+darwin_8 (active)
  cyrus-sasl2 @2.1.21_0 (active)
  DarwinPortsStartup @1.1_0 (active)
  db4 @4.3.29_0+darwin_8 (active)
  expat @2.0.0_1 (active)
  freetype @2.1.10_1 (active)
  gettext @0.15_0 (active)
  jpeg @6b_1 (active)
  libiconv @1.11_0+darwin_8 (active)
  libmcrypt @2.5.7_2+darwin_8 (active)
  libpng @1.2.10_2+darwin_8 (active)
  libtool @1.5.22_0 (active)
  libxml2 @2.6.23_0 (active)
  libxslt @1.1.15_0 (active)
  mhash @0.9.2_0+darwin_8 (active)
  mysql5 @5.0.27_0+darwin_8+server (active)
  openldap @2.2.28_0 (active)
  openssl @0.9.8d_0+darwin_8 (active)
  pcre @6.7_0 (active)
  perl5.8 @5.8.8_0+darwin_8 (active)
  tidy @20051025_0+darwin_8 (active)
  tiff @3.8.2_0+darwin_8 (active)
  zlib @1.2.3_0 (active)

comment:3 Changed 18 years ago by snrkiwi-ssl@…

Error is:

/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

Error: Status 1 encountered during processing.

comment:4 Changed 18 years ago by eruant@…

Got exactly the same error building php with

sudo port -v install php5 +apache2 +macosx +mysql5

My installed ports are:

The following ports are currently installed:
  apache2 @2.2.3_2 (active)
  apr @1.2.7_0 (active)
  apr-util @1.2.7_1 (active)
  bash-completion @20060301_0 (active)
  cclient @2004g_0 (active)
  curl @7.16.0_0+darwin_8 (active)
  db44 @4.4.20_0+darwin_8 (active)
  expat @2.0.0_1 (active)
  freetype @2.1.10_1 (active)
  gettext @0.15_0 (active)
  gmp @4.2.1_4+darwin_i386+test (active)
  gsed @4.1.5_0 (active)
  jpeg @6b_1 (active)
  libiconv @1.11_0+darwin_8 (active)
  libmcrypt @2.5.7_2+darwin_8 (active)
  libpng @1.2.10_2+darwin_8 (active)
  libtool @1.5.22_0 (active)
  libxml2 @2.6.23_0 (active)
  libxslt @1.1.15_0 (active)
  mhash @0.9.2_0+darwin_8 (active)
  mysql5 @5.0.27_0+darwin_8 (active)
  openssl @0.9.8d_0+darwin_8 (active)
  pcre @6.7_0 (active)
  tidy @20051025_0+darwin_8 (active)
  tiff @3.8.2_0+darwin_8 (active)
  wget @1.10.2_0+darwin_8 (active)
  zlib @1.2.3_0 (active)

Tried on a Mac Mini Intel 1.83 GHz running MacOS X 10.4.8

comment:6 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

PHP has been patched and fixed. Do a selfupdate and re-install.

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Component: baseports
Port: php5 added
Note: See TracTickets for help on using tickets.