Skip to content

Error compiling php on MacOs X (10.5, 10.6) #151

@pbiggar

Description

@pbiggar
What steps will reproduce the problem?
1. Download PHP' source version (5.2.17)
2. Use " CFLAGS="-O3" ./configure --enable-bcmath --with-gmp --with-mysql --enable-embed
"
3. Use "Make"

What is the expected output? What do you see instead?

make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
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


What version of the product are you using? On what operating system?

Use php : 5.2.17
Use phc : 0.3.0.1

On Mac Os X 10.5 (Leopard) and 10.6 (Snow Leopard)

Please provide any additional information below.

I know this is not a problem in your code but as you indicate in the documentation
on how to install Mac OS.

How did you do?

Original issue reported on code.google.com by Corentin.ALLEMAND on 2011-11-10 08:36:12

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions