Bug #48795 [Com]: Building intl 64-bit fails on OS X
| From: | cornelius dot howl at gmail dot com | Date: | Sat, 09 Mar 2013 10:12:31 +0000 |
| Subject: | Bug #48795 [Com]: Building intl 64-bit fails on OS X | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-177699@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=48795&edit=1
ID: 48795
Comment by: cornelius dot howl 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:
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
Previous Comments:
------------------------------------------------------------------------
[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] 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.
------------------------------------------------------------------------
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