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

From: Date: Thu, 05 Apr 2001 11:13:17 +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-47232@lists.php.net to get a copy of this message
This may not be your problem at all, but I remember reading something to the effect of if your recompiling PHP, you need to delete configure.cache...or it was somefile with the .cache extension. With all those lines with "(cache)" in them, thought that might be relevant. If not I hope you find the answer. You might want to try compiling it with either an older version of GD, or of PHP, just so you can drill down which part of the setup is giving you the errors. -- Plutarck Should be working on something... ...but forgot what it was. ""Alex Bloor"" <mailinglists@xela.co.uk> wrote in message news:3ACC6119.10753.9C9FF9@localhost... > 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 (#47232) next »