Re: Cannot build ext/intl on Fedora 15
| From: | Hannes Magnusson | Date: | Mon, 27 Feb 2012 16:45:39 +0000 |
| Subject: | Re: Cannot build ext/intl on Fedora 15 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58154@lists.php.net to get a copy of this message | ||
On Mon, Feb 27, 2012 at 17:43, Richard Lynch <ceo@l-i-e.com> 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. 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.)
>
> I believe core PHP is all in C.
>
> Extensions, however, could be in C++
>
ext/intl contains one or two c++ files.
-Hannes