[MacPorts] #16596: php5: undefined symbols _executor_globals _sapi_globals _compiler_globals _core_globals
MacPorts
noreply at macports.org
Thu Sep 10 17:14:59 PDT 2009
#16596: php5: undefined symbols _executor_globals _sapi_globals _compiler_globals
_core_globals
---------------------------------+------------------------------------------
Reporter: artrigue@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Resolution: duplicate | Keywords:
Port: php5 |
---------------------------------+------------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => duplicate
Old description:
> sudo port -v install php5 +apache2 +fastcgi +imap +mysql5 +pcntl +pear
> +pspell +sockets +tidy | tee -a ./php5_install_log
>
> produces (besides a massive log) ld errors:
> {{{
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _executor_globals
> _sapi_globals
> _compiler_globals
> _core_globals
> }}}
> ...looking through the log I see 4 places where it appears a
> configuration script is called with invalid parameters:
> {{{
> Generating files
> updating cache ./config.cache
> [...]
> creating main/internal_functions_cli.c
> +--------------------------------------------------------------------+
> | License: |
> | This software is subject to the PHP License, available in this |
> | distribution in the file LICENSE. By continuing this installation |
> | process, you are bound by the terms of this license agreement. |
> | If you do not agree with the terms of this license, you must abort |
> | the installation process at this point. |
> +--------------------------------------------------------------------+
>
> Thank you for using PHP.
>
> Notice: Following unknown configure options were used:
>
> --with-xml
> --with-expat-dir=/opt/local
> --enable-filepro
> --enable-trans-sid
> --enable-dbx
>
> Check './configure --help' for available options
>
> ---> Building php5 with target all
> }}}
> I have perl 5.10 and a generally fresh 10.4 install (plus updates to
> 10.4.11), and xcode 2.5. I only have had this hard drive installed for 2
> days :)
>
> Logfile is attached
New description:
{{{
sudo port -v install php5 +apache2 +fastcgi +imap +mysql5 +pcntl +pear
+pspell +sockets +tidy | tee -a ./php5_install_log
}}}
produces (besides a massive log) ld errors:
{{{
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_executor_globals
_sapi_globals
_compiler_globals
_core_globals
}}}
...looking through the log I see 4 places where it appears a configuration
script is called with invalid parameters:
{{{
Generating files
updating cache ./config.cache
[...]
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
Notice: Following unknown configure options were used:
--with-xml
--with-expat-dir=/opt/local
--enable-filepro
--enable-trans-sid
--enable-dbx
Check './configure --help' for available options
---> Building php5 with target all
}}}
I have perl 5.10 and a generally fresh 10.4 install (plus updates to
10.4.11), and xcode 2.5. I only have had this hard drive installed for 2
days :)
Logfile is attached
--
Comment:
Replying to [comment:5 ryandesign@…]:
> That user had installed a variety of ports without their required
+darwin platform variants, and installed some others with improper +linux
and +freebsd platform variants.
This analysis of that user's situation was incorrect; the "missing"
+darwin variant was only an artifact of a bug in MacPorts 1.7.1 and
earlier that did not properly record the +darwin variant in the registry.
I have now been able to reproduce the error in this ticket, and it is
caused by simultaneously using both the +apache2 and +fastcgi variants of
php5 when apache2 has been compiled with the +workermpm variant. I am
marking this bug as a duplicate of #21281 because although that bug came
later, it is not burdened by what we now know are irrelevant issues like
this ticket is.
--
Ticket URL: <http://trac.macports.org/ticket/16596#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list