I get the same error reported in the CLOSED bug [42106] (for yytext)
make fails with...
ld: duplicate symbol _yytext in Zend/zend_ini_scanner.o and
Zend/zend_language_scanner.o
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
I've tried php 5.2.5, latest snap for 5.2 (as suggested in bug report) and 5.3
although on 5.3 I get...
ld: duplicate symbol _spl_ce_SplDoublyLinkedList in
ext/spl/spl_dllist.o and ext/spl/php_spl.o
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
any help very appriciated, let me know if you need more info.
-sam
===System Info====
Model Name: Mac mini
Model Identifier: Macmini2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 1.83 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 2 MB
Memory: 1 GB
Bus Speed: 667 MHz
Boot ROM Version: MM21.009A.B00
SMC Version: 1.19f2
uname -a
Darwin 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST
2008; root:xnu-1228.3.13~1/RELEASE_I386 i386
OSX 10.5.2 build 9c31
======
gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-
]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-
slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-
tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
========
./configure --prefix=/usr/local/php5 \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--with-pgsql=/Library/PostgreSQL8 \
--without-mysql \
--with-apxs2=/usr/sbin/apxs \
--without-sqlite \
--with-mime-magic=/etc/apache2/magic \
--enable-gd-native-ttf \
--with-pic \
--with-jpeg-dir=/opt/local \
--with-png-dir=/opt/local
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]