Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-27 Thread Johannes Schlüter
On Mon, 2012-02-27 at 10:43 -0600, Richard Lynch wrote: > I believe core PHP is all in C. Correct. > Extensions, however, could be in C++ Correct. > And if one extension has forgotten to edit the Makefiles to do > -lstdc++ I presume that it could be the cause. Nobody should directly link -lstd

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-27 Thread Hannes Magnusson
On Mon, Feb 27, 2012 at 17:43, Richard Lynch wrote: > On Sun, February 26, 2012 1: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.

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-27 Thread Richard Lynch
On Sun, February 26, 2012 1: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'

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-27 Thread Hannes Magnusson
On Sun, Feb 26, 2012 at 20:43, Tom Boutell wrote: > If what I did is basically already in 5.4 and won't be finding its way > back to 5.3, I guess I'm good with my hack for now. > > What component are you suggesting I build shared? c++ extensions in 5.3, it should work fine in 5.4 with the excepti

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-27 Thread Hannes Magnusson
On Sun, Feb 26, 2012 at 23:34, Rasmus Lerdorf wrote: > On 02/26/2012 07:43 PM, Tom Boutell wrote: >> If what I did is basically already in 5.4 and won't be finding its >> way back to 5.3, I guess I'm good with my hack for now. > > Interesting, I never noticed it, but I tried your exact configure >

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread Rasmus Lerdorf
On 02/26/2012 07:43 PM, Tom Boutell wrote: > If what I did is basically already in 5.4 and won't be finding its > way back to 5.3, I guess I'm good with my hack for now. Interesting, I never noticed it, but I tried your exact configure switches and I was able to reproduce it. Here is what I use on

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread Tom Boutell
If what I did is basically already in 5.4 and won't be finding its way back to 5.3, I guess I'm good with my hack for now. What component are you suggesting I build shared? On Sun, Feb 26, 2012 at 2:39 PM, Hannes Magnusson wrote: > On Sun, Feb 26, 2012 at 20:34, Tom Boutell wrote: >> Hmm. >> >>

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread Hannes Magnusson
On Sun, Feb 26, 2012 at 20:34, Tom Boutell wrote: > 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 li

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread 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 libmysqlc

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread Rasmus Lerdorf
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

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2012-02-26 Thread Tom Boutell
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

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-09-13 Thread Stas Malyshev
Hi! Am 31.08.2011 12:11, schrieb Ferenc Kovacs: I think we should fix this on our end. Does nobody have the knowledge to fix this? I am sorry that I am unable to fix this myself. If somebody shows me how to reproduce this on Darwin, I could look into it in more detail. Or, otherwise,

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-09-13 Thread Sebastian Bergmann
Am 31.08.2011 12:11, schrieb Ferenc Kovacs: > I think we should fix this on our end. Does nobody have the knowledge to fix this? I am sorry that I am unable to fix this myself. -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-31 Thread Ferenc Kovacs
On Wed, Aug 31, 2011 at 11:32 AM, Pierre Joye wrote: > you are the only one to actually experience this, so I suppose you are > the only who can fix it as well :) > from Gwynne: "This issue exists on Darwin (OS X) as well." this will also happen with debian wheezy(next stable version): http://wi

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-31 Thread Pierre Joye
you are the only one to actually experience this, so I suppose you are the only who can fix it as well :) On Wed, Aug 31, 2011 at 11:18 AM, Sebastian Bergmann wrote: > On 08/27/2011 10:49 AM, Sebastian Bergmann wrote: >> >> /usr/bin/ld: ext/intl/msgformat/msgformat_helpers.o: >> undefined referen

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-31 Thread Sebastian Bergmann
On 08/27/2011 10:49 AM, Sebastian Bergmann wrote: /usr/bin/ld: ext/intl/msgformat/msgformat_helpers.o: undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3' /usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO /usr/lib64/libstdc++.so.6 so try adding it to the linker

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Remi Collet
Le 28/08/2011 10:19, Reindl Harald a écrit : > and that is why fedora is patcjing even the core-php since years and > with nearly each release some patches are changed without them you could > not build a RPM - I can't say for all patches (some are quite old, not from me), but for each new one, a

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Remi Collet
Le 28/08/2011 10:00, Stas Malyshev a écrit : > but I have no idea what's special with new Fedora I think this is explain there: http://fedoraproject.org/wiki/UnderstandingDSOLinkChange Remi. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Gwynne Raskind
On Sun, Aug 28, 2011 at 04:00, Stas Malyshev wrote: > Hi! > > On 8/27/11 1:49 AM, Sebastian Bergmann wrote: >> >> note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO > Judging from a quick search this is caused by libstdc++ missing from link > line, and can be fixed by adding it, but I have

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Reindl Harald
Am 28.08.2011 10:12, schrieb Sebastian Bergmann: > Am 28.08.2011 10:00, schrieb Stas Malyshev: >> Judging from a quick search this is caused by libstdc++ missing from link >> line, and can be fixed by adding it, but I have no idea what's special >> with new Fedora (i.e., I think some new gcc stuf

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Sebastian Bergmann
Am 28.08.2011 10:00, schrieb Stas Malyshev: > Judging from a quick search this is caused by libstdc++ missing from link > line, and can be fixed by adding it, but I have no idea what's special > with new Fedora (i.e., I think some new gcc stuff, no idea what) or why > our autoconf magic didn't do w

Re: [PHP-DEV] Cannot build ext/intl on Fedora 15

2011-08-28 Thread Stas Malyshev
Hi! On 8/27/11 1:49 AM, Sebastian Bergmann wrote: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO Judging from a quick search this is caused by libstdc++ missing from link line, and can be fixed by adding it, but I have no idea what's special with new Fedora (i.e., I think some ne