Re: Issues with PHP 5.1.4 / GD FreeType / Linux

From: Date: Thu, 03 Aug 2006 16:40:55 +0000
Subject: Re: Issues with PHP 5.1.4 / GD FreeType / Linux
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240059@lists.php.net to get a copy of this message
Unless I'm mis-reading all this, you *ARE* getting FreeType 2.x support. But you're not getting FreeType 1.0 support, as you have 2.x instead. If you were not getting FreeType at all, it wouldn't even appear in phpinfo() output. Try using the freetype functions and see if you get "function xyz not defined" or not. On Mon, July 31, 2006 3:13 pm, Vedanta Barooah wrote: > hello all, > i am trying to compile freetype support for php 5.1.4, on linux ... > looks > like i have set all the compile options correct ... but some how > freetype > support does not get included. any pointers will be of great help! > > thanks, > vedanta > > > ## configure options > > # './configure' '--with-apxs2=/soa/srv/httpd/bin/apxs' > '--prefix=/soa/srv/php514' > '--with-config-file-path=/soa/srv/php514/conf' > '--enable-soap' '--enable-exif' '--with-gd' > '--with-jpeg-dir=/usr/lib' > '--with-zlib-dir=/usr/lib' '--with-png-dir=/usr/lib' > '--enable-gd-native-ttf' '--with-ttf' > '--with-freetype-dir=/usr/lib' > > -- snip -- > configure: warning: You will need re2c 0.9.11 or later if you want to > regenerate PHP parsers. > configure: warning: bison versions supported for regeneration of the > Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none). > checking for FreeType 1.x support... yes > checking for FreeType 2... /usr/lib > checking for FreeType 1 support... no - FreeType 2.x is to be used > instead > configure: warning: lemon versions supported for regeneration of > libsqlite > parsers: 1.0 (found: none). > configure: warning: bison versions supported for regeneration of the > Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none). > -- snip -- > > > > ### <? print_r(gd_info()); ?> > > Array > ( > [GD Version] => bundled (2.0.28 compatible) > [FreeType Support] => > [T1Lib Support] => > [GIF Read Support] => 1 > [GIF Create Support] => 1 > [JPG Support] => 1 > [PNG Support] => 1 > [WBMP Support] => 1 > [XPM Support] => > [XBM Support] => 1 > [JIS-mapped Japanese Font Support] => > ) > -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#240059) next »