#41185 [Opn->Fbk]: Unable to add FreeType support

From: Date: Wed, 25 Apr 2007 09:39:10 +0000
Subject: #41185 [Opn->Fbk]: Unable to add FreeType support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111882@lists.php.net to get a copy of this message
ID: 41185 Updated by: tony2001@php.net Reported By: erwan dot loaec at gmail dot com -Status: Open +Status: Feedback Bug Type: GD related Operating System: Debian Sarge (kernel 2.6.8-3) PHP Version: 5.2.1 New Comment: >/root/src/LIB/freetype2.2 This does not look like *installation prefix*. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#111882) next »