ID:               47375
 User updated by:  jpcaissy at envolee dot com
 Reported By:      jpcaissy at envolee dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.4.11 Server
 PHP Version:      5.2CVS-2009-02-12 (snap)
 New Comment:

Please note the --enable-embed


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

[2009-02-12 20:41:56] jpcaissy at envolee dot com

Description:
------------
When trying to compile, it fails returning :

Reproduce code:
---------------
CFLAGS="-O3" ./configure '--prefix=/opt/local'
'--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info'
'--with-config-file-path=/opt/local/etc' '--enable-calendar'
'--with-iconv=/opt/local' '--enable-exif' '--enable-ftp' '--enable-wddx'
'--with-zlib=/opt/local' '--with-bz2=/opt/local'
'--with-libxml-dir=/opt/local' '--with-gettext=/opt/local' '--with-xml'
'--with-libexpat-dir=/opt/local' '--with-xmlrpc' '--enable-soap'
'--enable-bcmath' '--enable-mbstring' '--enable-dba' '--enable-zip'
'--with-openssl=/opt/local' '--with-mhash=/opt/local'
'--with-mcrypt=/opt/local' '--with-mime-magic' '--with-xsl=/opt/local'
'--with-curl=/opt/local' '--with-pcre-regex=/opt/local' '--with-gd'
'--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local'
'--enable-gd-native-ttf' '--with-freetype-dir=/opt/local'
'--with-ldap=/usr' '--with-kerberos=/usr' '--with-iodbc=/usr'
'--with-apxs=/usr/sbin/apxs' '--with-gmp=/opt/local'
'--with-imap=/opt/local' '--with-imap-ssl=/opt/local'
'--with-pspell=/opt/local' '--with-snmp=/usr'
'--with-mysql=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/mysql5'
'--with-pdo-mysql=/opt/local/bin/mysql_config5'
'--with-mysql-sock=/opt/local/var/run/mysql5/mysqld.sock'
'--with-mysqli=/opt/local/bin/mysql_config5' '--with-sqlite'
'--with-pdo-sqlite=/opt/local' '--enable-sqlite-utf8' '--enable-shmop'
'--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg'
'--with-pear=/opt/local/lib/php' '--with-readline=/opt/local'
'--enable-sockets' '--enable-embed'
make install

Expected result:
----------------
To compile

Actual result:
--------------
/usr/bin/ld: multiple definitions of symbol _yytext
Zend/.libs/zend_language_scanner.o definition of _yytext in section
(__DATA,__common)
Zend/.libs/zend_ini_scanner.o definition of _yytext in section
(__DATA,__common)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


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


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

Reply via email to