#41185 [Fbk->Opn]: Unable to add FreeType support
| From: | erwan dot loaec at gmail dot com | Date: | Wed, 25 Apr 2007 10:03:16 +0000 |
| Subject: | #41185 [Fbk->Opn]: Unable to add FreeType support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111886@lists.php.net to get a copy of this message | ||
ID: 41185
User updated by: erwan dot loaec at gmail dot com
Reported By: erwan dot loaec at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Debian Sarge (kernel 2.6.8-3)
PHP Version: 5.2.1
New Comment:
Yes but actually it is. I've specified the "2.2" because i've tried
many version of freetype (2.3.4,2.2.1,2.1.10).
It's not the uncompressed directory (which is freetype-2.2.1 in that
case)
I can add that i've EXACTLY the same problem : no error during
configuration and compilation, with the libfreetype of my sarge
(freetype version 2.1.7-6)
I don't what the problem can be, i didn't found information neither in
config.log nor in the stdout/stderr of the ./configure. (see above for
the configure output)
Previous Comments:
------------------------------------------------------------------------
[2007-04-25 09:39:10] tony2001@php.net
>/root/src/LIB/freetype2.2
This does not look like *installation prefix*.
------------------------------------------------------------------------
[2007-04-25 09:23:57] erwan dot loaec at gmail dot com
Description:
------------
I'm trying to install php 5.2.1 with apache 2.2.4.
I've no problem during configure and make. However GD does not support
FreeType.
checking for GD support... yes
checking for FreeType 2... /root/src/LIB/freetype2.2
checking whether to enable truetype string function in GD... yes
Reproduce code:
---------------
I've compiled freetype (try with both 2.1.10 and 2.2.1 ) with
./configure --prefix=/root/src/LIB/freetype2.2 --enable-shared
--disable-static
I've also tried from package (.deb)
I've compiled php with
./configure \
--prefix=/opt/php-5.2.1 \
--enable-mbstring \
--enable-sockets \
--enable-memory-limit \
--with-apxs2=/opt/httpd-2.2.4/bin/apxs \
--with-mysql=/opt/mysql-5.0.37 \
--with-mcrypt \
--with-iconv \
--with-openssl \
--with-kerberos \
--with-zip \
--with-zlib \
--with-bz2 \
--with-ldap \
--with-snmp \
--with-pear \
--without-sqlite \
--disable-ipv6 \
--enable-gd-native-ttf \
--with-gd \
--with-png-dir=/root/src/LIB/libpng \
--with-freetype-dir=/root/src/LIB/freetype2.2
I've also tried with --with-ttf. Moreover i'm not able to support jpeg,
--with-png-dir produce no error, but does not add jpeg support.
Expected result:
----------------
I'm not able to obtain the following :
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.X.X
Actual result:
--------------
actual phpinfos() output:
GD Support => enabled
GD Version => bundled (2.0.28 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41185&edit=1