php5 and gd 2.0.35 (was: Re: php5 and freetype)
Ryan Schmidt
ryandesign at macports.org
Sun Jun 24 22:00:58 PDT 2007
On Jun 24, 2007, at 23:32, paul beard wrote:
> Hmph. If I configure php5 with the args in the portfile, it works
> just fine. Builds completely, tests OK, the lot.
>
> ./configure --mandir=${prefix}/share/man --infodir=${prefix}/share/
> info --with-config-file-path=${prefix}/etc --enable-calendar --with-
> iconv=${prefix} --enable-exif --enable-ftp --enable-wddx --
> with-zlib=${prefix} --without-mysql --without-sqlite --without-pdo-
> sqlite --with-libxml-dir=${prefix} --with-gettext=${prefix} --with-
> xml --with-expat-dir=${prefix} --with-xmlrpc --enable-soap --enable-
> filepro --enable-bcmath --enable-trans-sid --enable-mbstring --
> enable-dbx --enable-dba --with-openssl=${prefix} --with-mhash=$
> {prefix} --with-mcrypt=${prefix} --with-xsl=${prefix} --with-curl=$
> {prefix} --with-pcre-regex=${prefix} --with-gd --with-jpeg-dir=$
> {prefix} --with-png-dir=${prefix} --enable-gd-native-ttf --without-
> pear --with-freetype-dir=${prefix}
>
>
> if I use the port infrastructure to do it, it chokes:
>
> checking for png_write_image in -lpng... (cached) yes
> If configure fails try --with-xpm-dir=<DIR>
> checking for FT_New_Face in -lfreetype... (cached) yes
> configure: error: GD build test failed. Please check the config.log
> for details.
>
> Error: Status 1 encountered during processing.
>
> port installed free*
> The following ports are currently installed:
> freetype @2.3.4_1 (active)
>
> port installed gd*
> The following ports are currently installed:
> gd2 @2.0.35_0 (active)
>
> What gives?
Sounds like a gd problem, not a freetype problem. I just upgraded gd2
to 2.0.35 yesterday. Perhaps php 5.2.3 is not compatible with it...
Hmm... Let me try some things and get back to you.
More information about the macports-users
mailing list