FreeBSD + gd + PHP4.1.2
| From: | Kasper | Date: | Wed, 17 Apr 2002 21:55:49 +0000 |
| Subject: | FreeBSD + gd + PHP4.1.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6664@lists.php.net to get a copy of this message | ||
I have some problems with GD and php4.1.2.
I have FreeBSD and i have gd zlib freetype jpeg and all that is required
installed.
My line is like this,
/configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --with-gd-dir
=/usr/local/lib/gd --with-zlib --with-png-dir=/usr/local/lib --with-jpeg-dir
=/usr/local/lib --with-freetype-dir=/usr/local/lib
I have also tried
/configure --with-pgsql --with-apxs=/usr/local/apache/bin/apxs --with-gd --w
ith-zlib --with-png --with-jpeg
--with-freetype
And the error i get is this one,
In file included from internal_functions.c:33:
/home/miffo/php/ext/gd/php_gd.h:33: gd.h: No such file or directory
*** Error code 1
Stop in /home/miffo/php/main.
*** Error code 1
Stop in /home/miffo/php/main.
*** Error code 1
Stop in /home/miffo/php.
And when configuring php says,
checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... yes
checking for png_info_init in -lpng... (cached) yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking whether to include include FreeType 1.x support... no
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes
checking for gdImageCreateFromGif in -lgd... (cached) yes
checking for gdImageGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) yes
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateFromGd2 in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) no
checking for gdImageSetTile in -lgd... (cached) yes
checking for gdImageSetBrush in -lgd... (cached) yes
checking for gdImageStringTTF in -lgd... (cached) yes
checking for gdImageStringFT in -lgd... (cached) yes
checking for gdImageStringFTEx in -lgd... (cached) no
checking for gdImageColorClosestHWB in -lgd... (cached) yes
checking for gdImageColorResolve in -lgd... (cached) yes
checking for gdImageGifCtx in -lgd... (cached) no
Whats wrong ??
/K