Edit report at https://bugs.php.net/bug.php?id=48795&edit=1
ID: 48795
Comment by: saltwaterc at gmail dot com
Reported by: gwynne@php.net
Summary: Building intl 64-bit fails on OS X
Status: Verified
Type: Bug
Package: Compile Failure
Operating System: OS X 10.5 & 10.6; Linux
PHP Version: 5.3 SVN; 5.4.0RC1
Block user comment: N
Private report: N
New Comment:
sed -i '/EXTRA_LIBS = /s|$| -lstdc++|' Makefile
One liner fix for those who still do (scripted) builds on 5.3.x.
5.3.22 still fails on Ubuntu 12.04.
Previous Comments:
------------------------------------------------------------------------
[2012-10-26 02:59:59] pgarvin76 at gmail dot com
This is still and issue on 5.3.18, but 5.4.8 built without error. Interestingly if you build intl as
shared you don't get the compile error (how I am currently getting around issue). I am on
Ubuntu 12.04.
------------------------------------------------------------------------
[2012-09-11 16:27:47] reeze@php.net
Same for me, I can't compile either. hope there is a solution
------------------------------------------------------------------------
[2012-05-08 13:11:12] kore@php.net
Also happens again with PHP 5.3.12 on Ubuntu 12.04 -- stas fix confirmed. A generic solution would
be nice, indeed.
------------------------------------------------------------------------
[2012-03-13 15:46:33] dan at cdchase dot com
It would be helpful if the build system imported any already set CFLAGS. As I've experienced
this issue before, so I've set the appropriate CFLAGS in my default environment. But, the
automated install routine does not honor these. I have to manually install for them to be honored.
------------------------------------------------------------------------
[2011-11-14 16:54:00] weierophinney@php.net
I can confirm Stas's suggestion (s/CC/CXX/ in BUILD_* vars) works with 5.4.0RC1
on linux 64-bit.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=48795--
Edit this bug report at https://bugs.php.net/bug.php?id=48795&edit=1