Bug #48795 [Com]: Building intl 64-bit fails on OS X

From: Date: Tue, 11 Jun 2013 14:10:23 +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-179494@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:         cweiske@php.net
 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:

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] reeze@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


Thread (27 messages)

« previous php.bugs (#179494) next »