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 <ras...@lerdorf.com> 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php