#44462 [Opn]: Can't compile embed sapi on OSX

From: Date: Wed, 19 Mar 2008 00:11:52 +0000
Subject: #44462 [Opn]: Can't compile embed sapi on OSX
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123447@lists.php.net to get a copy of this message
 ID:               44462
 Updated by:       felipe@php.net
 Reported By:      graham+php at nexopia dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: OSX
 PHP Version:      5.2CVS-2008-03-18
 New Comment:

Compile with success on Linux.


Previous Comments:
------------------------------------------------------------------------

[2008-03-18 22:06:55] graham+php at nexopia dot com

Tried that out, still fails in the same way.

------------------------------------------------------------------------

[2008-03-18 21:49:38] jani@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2008-03-17 22:06:38] graham+php at nexopia dot com

Description:
------------
If you try to compile php with the embed sapi on OSX, you get an error
about duplicate symbols for yytext.

Reproduce code:
---------------
./configure --enable-embed
make




Expected result:
----------------
Finish compiling

Actual result:
--------------
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ld: warning, duplicate dylib /usr/lib/libm.dylib
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and
Zend/.libs/zend_language_scanner.o

collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44462&edit=1



Thread (18 messages)

« previous php.bugs (#123447) next »