#14483 [Com]: -twolevel_namespace and multiple definitions errors
| From: | brian dot paquin at yale dot edu | Date: | Tue, 24 Sep 2002 17:07:38 +0000 |
| Subject: | #14483 [Com]: -twolevel_namespace and multiple definitions errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20213@lists.php.net to get a copy of this message | ||
ID: 14483
Comment by: brian.paquin@yale.edu
Reported By: abner@criticalnexus.com
Status: Closed
Bug Type: Compile Failure
Operating System: Mac OS X 10.1
PHP Version: 4.2.0-dev
New Comment:
Thanks for pointing me to snaps! Config went much
smoother, however I get the following error from Apache:
[path046:/Users/bripakes] bripakes# apachectl start
Syntax error on line 242 of /etc/httpd/httpd.conf:
Cannot load /usr/libexec/httpd/libphp4.so into server:
(reason unknown)
/usr/sbin/apachectl start: httpd could not be started
I noticed the owner and group were different so I changed
them to root/wheel. And PEAR gave me errors so I used
--disable-pear in my config.
Any ideas?
Previous Comments:
------------------------------------------------------------------------
[2002-09-23 13:48:54] abner@criticalnexus.com
Use PHP 4.3.0-dev from http://snaps.php.net
http://panther.criticalnexus.com/info.php
-Abner
------------------------------------------------------------------------
[2002-09-23 13:10:49] brian.paquin@yale.edu
PHP 4.2.3 fails 'make install' with:
Making install in .
/usr/src/php-4.2.3/build/shtool mkdir -p "/usr/libexec/
httpd" && apxs -S LIBEXECDIR="/usr/libexec/httpd" -i -a -n
php4 libs/libphp4.dylib
apxs:Error: file libs/libphp4.dylib is not a DSO
make[1]: *** [install-sapi] Error 1
make: *** [install-recursive] Error 1
Any suggestions?
I'm using 10.2.1 with Apache 1.3.26 (Darwin), Sybase 12.5,
and PHP 4.2.3...
Tried both Marc Liyanage's site and Tenon's iTools site
instructions, and both give same error...
Bri
------------------------------------------------------------------------
[2002-04-23 14:27:26] liyanage@access.ch
Using the helpful and informative comments on this page I made a patch
which can be applied against the 4.2.0 release source distribution.
The basic 4.2.0 module compiles fine for me with the patch.
It is available at
http://www.entropy.ch/software/macosx/php/php-4.2.0-entropy.ch.patch
------------------------------------------------------------------------
[2002-04-16 06:16:33] derick@php.net
It's fixed in CVS, but not for PHP 4.2.x. Only PHP 4.3.x + will support
this.
Derick
------------------------------------------------------------------------
[2002-04-16 06:07:16] abner@criticalnexus.com
Unfortunately, this doesn't seem fixed in 4.2.0-RC-4.
1. Still getting yytext problems. The duplicate definitions of "char
*yytext" in zend_ini_scanner and zend_language_scanner still exist.
One of them has to go. This is a fatal error.
2. Still getting the crazy amounts of multiply defined errors. The fix
for this is as explained with the $deplibs business. This is a fatal
error.
3. Still not compiling the apache module right. Also fatal.
apxs:Error: file libs/libphp4.dylib is not a DSO
make[1]: *** [install-sapi] Error 1
make: *** [install-recursive] Error 1
The only way to make this work is to use the libtool and other stuff
from the 4.0.6 branch, as you guys probably know already, and as
included above.
The struggle continues (?)...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14483
--
Edit this bug report at http://bugs.php.net/?id=14483&edit=1