Re: Cannot build ext/intl on Fedora 15
| From: | Hannes Magnusson | Date: | Sun, 26 Feb 2012 19:39:28 +0000 |
| Subject: | Re: Cannot build ext/intl on Fedora 15 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58091@lists.php.net to get a copy of this message | ||
On Sun, Feb 26, 2012 at 20:34, Tom Boutell <tom@punkave.com> 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 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'
The quick fix is to build it shared, not statically.
See also http://php.markmail.org/message/z2qkmbipmhhpwzx4
-Hannes