RE: [PHP-INST] Re: FreeBSD + gd + PHP4.1.2
| From: | Jonathan Hilgeman | Date: | Mon, 22 Apr 2002 21:33:54 +0000 |
| Subject: | RE: [PHP-INST] Re: FreeBSD + gd + PHP4.1.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6718@lists.php.net to get a copy of this message | ||
Why don't you just use the ports system on FreeBSD to set up PHP? It would
be much cleaner and a lot faster.
To address your problem, it seems as though it can't find your gd.h file in
the include paths. What happens when you run "locate gd.h" ?
- Jonathan
-----Original Message-----
From: Batch [mailto:sbatchel@indiana.edu]
Sent: Monday, April 22, 2002 2:01 PM
To: php-install@lists.php.net
Subject: [PHP-INST] Re: FreeBSD + gd + PHP4.1.2
Anyone know what this problem is? I am getting the exact same problem under
RedHat 7.2
Thanks.
"Kasper" <kasper@swebase.se> wrote in message
news:20020417215914.45722.qmail@pb1.pair.com...
> 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
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php