Re: Apache latest + PHP latest + GD latest + Freetype latest + Jpeg latest

From: Date: Mon, 09 Apr 2001 02:06:24 +0000
Subject: Re: Apache latest + PHP latest + GD latest + Freetype latest + Jpeg latest
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47704@lists.php.net to get a copy of this message
Hi I don't think gd uses freetype by default .. seem to remember having to edit the makefile Tom At 12:12 PM 5/04/01 +0100, Alex Bloor wrote:
Hi, Firstly, thanks for reading this message. Has anyone managed to compile and use : Apache latest + PHP latest + GD latest + Freetype latest + Jpeg latest = Apache 1.3.19 + PHP 4.0.4pl1 + GD 1.8.4 + Freetype 2.0.1 + Jpeg 6b I can get it to compile OK with GD but there seem to be problems with Freetype (i.e. everything I try results in a non-working ImageTtfBBox function). I've followed as many guides to getting it working as I can find, but they mostly refer to older versions.. I'm pretty sure this is something reasonably obvious but there doesn't seem to be a one-stop guide to getting it all installed *anywhere* (links would be cool though if anyone has them).. My PHP compile line is : ./configure --with-apache=../apache_1.3.19 -- with-mysql --with-gd --with-ttf=/usr/local/include/freetype2 --with-jpeg-dir=/u sr/local --enable-freetype-4bit-antialias-hack --enable-gd-imgstrttf these look relevant : checking whether to enable truetype string function in gd... no checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... (cached) yes checking for libXpm (needed by gd-1.8+)... no configure: warning: If configure fails try --with-xpm-dir=<DIR> checking whether to include GD support... yes (static) checking for gdImageString16 in -lgd... (cached) yes checking for gdImagePaletteCopy in -lgd... (cached) yes checking for gdImageColorClosestHWB in -lgd... (cached) yes checking for compress in -lz... (cached) yes checking for png_info_init in -lpng... (cached) yes checking for gdImageColorResolve in -lgd... (cached) yes checking for gdImageCreateFromPng in -lgd... (cached) yes checking for gdImageCreateFromGif in -lgd... (cached) no checking for gdImageWBMP in -lgd... (cached) yes checking for gdImageCreateFromJpeg in -lgd... (cached) no checking for gdImageCreateFromXpm in -lgd... (cached) yes checking whether to include FreeType 1.x support... no checking for T1lib support... no checking whether to include GNU gettext support... no
        checking whether to enable truetype string function in gd... no
checking for libjpeg (needed by gd-1.8+)... yes checking for jpeg_read_header in -ljpeg... (cached) yes checking for libXpm (needed by gd-1.8+)... no configure: warning: If configure fails try --with-xpm-dir=<DIR> checking whether to include GD support... yes (static) checking for gdImageString16 in -lgd... (cached) yes checking for gdImagePaletteCopy in -lgd... (cached) yes checking for gdImageColorClosestHWB in -lgd... (cached) yes checking for compress in -lz... (cached) yes checking for png_info_init in -lpng... (cached) yes checking for gdImageColorResolve in -lgd... (cached) yes checking for gdImageCreateFromPng in -lgd... (cached) yes checking for gdImageCreateFromGif in -lgd... (cached) no checking for gdImageWBMP in -lgd... (cached) yes checking for gdImageCreateFromJpeg in -lgd... (cached) no checking for gdImageCreateFromXpm in -lgd... (cached) yes checking whether to include FreeType 1.x support... no checking for T1lib support... no checking whether to include GNU gettext support... no I *think* it is probably something to do with GD not being compiled properly, but this (I am guessing) is to do with it being freetype 2.0.1 as opposed to 1.x .. Any light anyone can shed would be great. Many thanks Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#47704) next »