[MacPorts] #21281: php5 5.3.0_2 undefined symbols _core_globals, _sapi_cgi_activate (was: PHP 5.3.0_2 build failed under Mac OS X 10.6)
MacPorts
noreply at macports.org
Thu Sep 10 13:48:26 PDT 2009
#21281: php5 5.3.0_2 undefined symbols _core_globals, _sapi_cgi_activate
--------------------------------------+-------------------------------------
Reporter: james.applemac@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: php5
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* status: new => assigned
Old description:
> OS:Mac OS X 10.6
> xcode:3.2
> apache2.2.13_2 build with variants:+darwin+openldap+workermpm
> {{{
> port install php5 +apache2 +fastcgi +ipc +pear +snmp +suhosin
> Port command started with PID 47556
> ---> Computing dependencies for php5
> ---> Fetching gawk
> ---> Verifying checksum(s) for gawk
> ---> Extracting gawk
> ---> Configuring gawk
> ---> Building gawk
> ---> Staging gawk into destroot
> ---> Installing gawk @3.1.7_0
> ---> Activating gawk @3.1.7_0
> ---> Cleaning gawk
> ---> Fetching autoconf213
> ---> Verifying checksum(s) for autoconf213
> ---> Extracting autoconf213
> ---> Configuring autoconf213
> ---> Building autoconf213
> ---> Staging autoconf213 into destroot
> ---> Installing autoconf213 @2.13_1
> ---> Activating autoconf213 @2.13_1
> ---> Cleaning autoconf213
> ---> Fetching gsed
> ---> Verifying checksum(s) for gsed
> ---> Extracting gsed
> ---> Configuring gsed
> ---> Building gsed
> ---> Staging gsed into destroot
> ---> Installing gsed @4.2.1_0
> ---> Activating gsed @4.2.1_0
> ---> Cleaning gsed
> ---> Fetching mhash
> ---> Verifying checksum(s) for mhash
> ---> Extracting mhash
> ---> Configuring mhash
> ---> Building mhash
> ---> Staging mhash into destroot
> ---> Installing mhash @0.9.9.9_0
> ---> Activating mhash @0.9.9.9_0
> ---> Cleaning mhash
> ---> Fetching php5
> ---> Verifying checksum(s) for php5
> ---> Extracting php5
> ---> Applying patches to php5
> ---> Configuring php5
> ---> Building php5
> ---> Staging php5 into destroot
> ---> Configuring php5 again for fastcgi
> ---> Building php5 again for fastcgi
> Error: Target org.macports.destroot returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0"
> && /usr/bin/make all " returned error 2
> Command output: _php_print_info in info.o
> _main in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> "_core_globals", referenced from:
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _cgi_php_import_environment_variables in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> _sapi_cgi_activate in cgi_main.o
> _sapi_cgi_activate in cgi_main.o
> _sapi_cgi_activate in cgi_main.o
> _sapi_cgi_activate in cgi_main.o
> _sapi_cgi_activate in cgi_main.o
> "_compiler_globals", referenced from:
> _main in cgi_main.o
> _main in cgi_main.o
> _main in cgi_main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php-cgi] Error 1
> Error: Status 1 encountered during processing.
> ---> Executing: /opt/local/bin/port install php5 +apache2 +fastcgi +ipc
> +pear +snmp +suhosin
> }}}
New description:
OS:Mac OS X 10.6 [[BR]]
xcode:3.2 [[BR]]
apache2.2.13_2 build with variants:+darwin+openldap+workermpm
{{{
port install php5 +apache2 +fastcgi +ipc +pear +snmp +suhosin
Port command started with PID 47556
---> Computing dependencies for php5
---> Fetching gawk
---> Verifying checksum(s) for gawk
---> Extracting gawk
---> Configuring gawk
---> Building gawk
---> Staging gawk into destroot
---> Installing gawk @3.1.7_0
---> Activating gawk @3.1.7_0
---> Cleaning gawk
---> Fetching autoconf213
---> Verifying checksum(s) for autoconf213
---> Extracting autoconf213
---> Configuring autoconf213
---> Building autoconf213
---> Staging autoconf213 into destroot
---> Installing autoconf213 @2.13_1
---> Activating autoconf213 @2.13_1
---> Cleaning autoconf213
---> Fetching gsed
---> Verifying checksum(s) for gsed
---> Extracting gsed
---> Configuring gsed
---> Building gsed
---> Staging gsed into destroot
---> Installing gsed @4.2.1_0
---> Activating gsed @4.2.1_0
---> Cleaning gsed
---> Fetching mhash
---> Verifying checksum(s) for mhash
---> Extracting mhash
---> Configuring mhash
---> Building mhash
---> Staging mhash into destroot
---> Installing mhash @0.9.9.9_0
---> Activating mhash @0.9.9.9_0
---> Cleaning mhash
---> Fetching php5
---> Verifying checksum(s) for php5
---> Extracting php5
---> Applying patches to php5
---> Configuring php5
---> Building php5
---> Staging php5 into destroot
---> Configuring php5 again for fastcgi
---> Building php5 again for fastcgi
Error: Target org.macports.destroot returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0"
&& /usr/bin/make all " returned error 2
Command output: _php_print_info in info.o
_main in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
"_core_globals", referenced from:
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_cgi_php_import_environment_variables in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
_sapi_cgi_activate in cgi_main.o
_sapi_cgi_activate in cgi_main.o
_sapi_cgi_activate in cgi_main.o
_sapi_cgi_activate in cgi_main.o
_sapi_cgi_activate in cgi_main.o
"_compiler_globals", referenced from:
_main in cgi_main.o
_main in cgi_main.o
_main in cgi_main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1
Error: Status 1 encountered during processing.
---> Executing: /opt/local/bin/port install php5 +apache2 +fastcgi +ipc
+pear +snmp +suhosin
}}}
--
Comment:
I would need to see more output ("`sudo port -d install php5`") to be
sure, but I believe php5 is not compatible with apache2's +workermpm
variant. I think this is the same problem as #16596 and
[http://lists.macosforge.org/pipermail/macports-
users/2009-August/016059.html this mailing list post]. Please confirm
whether using apache2's default +preforkmpm variant instead fixes the
problem.
--
Ticket URL: <http://trac.macports.org/ticket/21281#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list