#14483 [Csd]: -twolevel_namespace and multiple definitions errors

From: Date: Mon, 23 Sep 2002 18:48:54 +0000
Subject: #14483 [Csd]: -twolevel_namespace and multiple definitions errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20129@lists.php.net to get a copy of this message
ID: 14483 User updated by: abner@criticalnexus.com 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: Use PHP 4.3.0-dev from http://snaps.php.net http://panther.criticalnexus.com/info.php -Abner Previous Comments: ------------------------------------------------------------------------ [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 (?)... ------------------------------------------------------------------------ [2002-04-10 18:47:06] sniper@php.net This is fixed in CVS. ------------------------------------------------------------------------ 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

« previous php.bugs (#20129) next »