Edit report at https://bugs.php.net/bug.php?id=48795&edit=1
ID: 48795 Comment by: cwei...@php.net Reported by: gwy...@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: Still happens on 5.3.26. cornelius dot howl at gmail dot com's commands do not help here. Previous Comments: ------------------------------------------------------------------------ [2013-03-09 10:14:47] cornelius dot howl at gmail dot com For this issue, here is the patch in phpbrew https://github.com/c9s/phpbrew/commit/18ef766d0e013ee87ac7d86e338ebec89fbeb445 ------------------------------------------------------------------------ [2013-03-09 10:12:31] cornelius dot howl at gmail dot com Quick fix for this 5.3.28 should work edit Makefile and found the rule of ext/intl/msgformat/msgformat_helpers.cpp change the $(CC) to $(CXX) then run: sed -i '/EXTRA_LIBS = /s|$| -lstdc++|' Makefile ------------------------------------------------------------------------ [2013-03-08 16:27:05] saltwaterc at gmail dot com 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. ------------------------------------------------------------------------ [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] re...@php.net Same for me, I can't compile either. hope there is a solution ------------------------------------------------------------------------ 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