From:             erwan dot loaec at gmail dot com
Operating system: Debian Sarge (kernel 2.6.8-3)
PHP version:      5.2.1
PHP Bug Type:     GD related
Bug description:  Unable to add FreeType support

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 bug report at http://bugs.php.net/?id=41185&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41185&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41185&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41185&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41185&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41185&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41185&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41185&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41185&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41185&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41185&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41185&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41185&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41185&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41185&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41185&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41185&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41185&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41185&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41185&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41185&r=mysqlcfg

Reply via email to