Hmm, i had the same problem here, running FreeBSD and php-4.0.x + GD.
Here is what i did, and it worked:
make sure there is only 1 static gd-library on the system (search for
libgd).
second, install GD (make install after the compilation) make also sure that
libpng is correctly installed and configured. This will install gd by
default in /usr/local/lib.
The compile PHP with:
./configure --with-jpeg-dir=/usr/local/src/jpeg --with-gd=/usr/local
PHP will search for the libgd in /usr/local now, and will find it in
/usr/local/lib.
make, install and good luck :-)
Kees
Note, make sure gd is compiled right.
----- Original Message -----
From: "Kasper Kristiansson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 10, 2001 10:33 AM
Subject: [PHP] PHP + GD + FreeBSD
> When i compile PHP on my FreeBSD with the following confgoptions, i don't
> get png support.
>
> Whats wrong?
>
>
./configure --with-jpeg-dir=/usr/local/src/jpeg --with-png-dir=/usr/local/sr
> c/libpng --with-gd=/usr/local/src/gd
>
> checking whether to include GD support... yes (static)
> checking for compress in -lz... (cached) yes
> checking for png_info_init in -lpng... (cached) no
> checking for gdImageString16 in -lgd... (cached) yes
> checking for gdImagePaletteCopy in -lgd... (cached) yes
> checking for gdImageColorClosestHWB in -lgd... (cached) yes
> checking for gdImageColorResolve in -lgd... (cached) yes
> checking for gdImageCreateFromPng in -lgd... (cached) no
> 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 for gdImageCreateTrueColor in -lgd... (cached) no
> checking for gdImageSetTile in -lgd... (cached) yes
> checking for gdImageSetBrush in -lgd... (cached) yes
> checking for gdImageStringFTEx in -lgd... (cached) no
> checking whether to include FreeType 1.x support... no
>
> --
> Med vänlig hälsning
> Kasper Kristiansson
> 042-162000, Fax 042-162009
> Mobil 070-8995989
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]