Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48459 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34396 invoked from network); 25 May 2010 01:04:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2010 01:04:42 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.222.193 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.222.193 mail-pz0-f193.google.com Received: from [209.85.222.193] ([209.85.222.193:37359] helo=mail-pz0-f193.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/88-18125-8222BFB4 for ; Mon, 24 May 2010 21:04:41 -0400 Received: by pzk31 with SMTP id 31so1864249pzk.16 for ; Mon, 24 May 2010 18:04:38 -0700 (PDT) Received: by 10.142.74.6 with SMTP id w6mr4010754wfa.249.1274749477890; Mon, 24 May 2010 18:04:37 -0700 (PDT) Received: from [192.168.1.2] (c-76-22-32-17.hsd1.wa.comcast.net [76.22.32.17]) by mx.google.com with ESMTPS id 20sm3949105pzk.3.2010.05.24.18.04.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 May 2010 18:04:37 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4BFAD6BF.5000509@sugarcrm.com> Date: Mon, 24 May 2010 18:04:29 -0700 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <4BFAD6BF.5000509@sugarcrm.com> To: Stas Malyshev X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] ext/intl builds on Mac From: philip@roshambo.org (Philip Olson) On May 24, 2010, at 12:42 PM, Stas Malyshev wrote: > Hi! >=20 > The patch below seems to fix ext/intl (and maybe others) compile = problems on Mac OS X. The problem seems to be because C++ needs = libstdc++ and for some reason it doesn't get added on Mac. >=20 > Could people having build problems on Mac see if this fixes the = problem for them (buildconf/re-configure required)? Also if some = autoconf guru could see if that makes sense in general, that'd be nice = too :) >=20 > The patch: >=20 > --- acinclude.m4 (revision 299709) > +++ acinclude.m4 (working copy) > @@ -768,6 +768,11 @@ > if test -z "$php_cxx_done"; then > AC_PROG_CXX > AC_PROG_CXXCPP > + case $host_alias in > + *darwin*) > + PHP_ADD_LIBRARY(stdc++) > + ;; > + esac > php_cxx_done=3Dyes > fi > ]) Hello Stas, This patch works for me, and is required for ext/intl to build. Regards, Philip