Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58090 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57786 invoked from network); 26 Feb 2012 19:34:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2012 19:34:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:65419] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/82-40985-9598A4F4 for ; Sun, 26 Feb 2012 14:34:49 -0500 Received: by iaeh11 with SMTP id h11so196903iae.29 for ; Sun, 26 Feb 2012 11:34:46 -0800 (PST) Received-SPF: pass (google.com: domain of tom@punkave.com designates 10.50.140.65 as permitted sender) client-ip=10.50.140.65; Authentication-Results: mr.google.com; spf=pass (google.com: domain of tom@punkave.com designates 10.50.140.65 as permitted sender) smtp.mail=tom@punkave.com Received: from mr.google.com ([10.50.140.65]) by 10.50.140.65 with SMTP id re1mr2196460igb.4.1330284886969 (num_hops = 1); Sun, 26 Feb 2012 11:34:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.140.65 with SMTP id re1mr1826392igb.4.1330284886686; Sun, 26 Feb 2012 11:34:46 -0800 (PST) Received: by 10.231.108.135 with HTTP; Sun, 26 Feb 2012 11:34:46 -0800 (PST) In-Reply-To: <4F4A8660.6090302@lerdorf.com> References: <4F4A8660.6090302@lerdorf.com> Date: Sun, 26 Feb 2012 14:34:46 -0500 Message-ID: To: Rasmus Lerdorf Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmBwXRTbaeuyPa906Bult7PFD3B5HebDYJUteElt8/XSI2IphJ1ejo7Wo4+UK26VCxfJ39+ Subject: Re: [PHP-DEV] Cannot build ext/intl on Fedora 15 From: tom@punkave.com (Tom Boutell) Hmm. Here is my apt-get install line, starting from a stock install of 11.10 in virtualbox: apt-get -y install build-essential apache2 libxml2-dev libcurl4-openssl-dev \ libcurl4-openssl-dev libjpeg-dev libpng-dev libfreetype6-dev libicu-dev \ libmcrypt-dev mysql-server mysql-client libmysqlclient-dev libxslt-dev \ autoconf libltdl-dev Then I pull down 5.3.10, cd to it and run this configure line: './configure' '--enable-fastcgi' '--with-gd' '--with-pdo-mysql' '--with-curl' '--with-mysql' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-mcrypt' '--with-zlib' '--enable-mbstring' '--enable-ftp' '--with-xsl' '--with-openssl' '--with-kerberos' '--enable-exif' '--enable-intl' I then run 'make', which bombs with the error mentioned at link time unless I add -lstdc++ manually. Anyone see a missing package that makes build-essential a little more essential? (: I'll try this again in a fresh install of ubuntu 11.x (shoot, forgot to take a virtualbox snapshot last time). On Sun, Feb 26, 2012 at 2:22 PM, Rasmus Lerdorf wrote: > On 02/26/2012 07:19 PM, Tom Boutell wrote: >> Bump - this is still a live issue on Ubuntu 11.10, for instance. >> >> I just hacked my Ubuntu PHP-from-source installer to touch up the >> Makefile by prepending -lstdc++ to EXTRA_LIBS. That does the job. >> >> Which I knew more about autoconf, I'd like to help figure this out >> properly so everyone doesn't wind up maintaining hacks to compile PHP >> from source. It discourages a very large community from trying new >> releases. >> >> Is this perhaps because some of the code being included in the PHP >> build happens to be C++ code? (Not readily apparent from the outside >> of course.) >> > > My dev box is Ubuntu 11.10 and I have no issues building ext/intl. > > -Rasmus -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com