Re: PHP + GD + FreeBSD

From: Date: Thu, 10 May 2001 12:06:36 +0000
Subject: Re: PHP + GD + FreeBSD
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52269@lists.php.net to get a copy of this message
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" <kasper@swebase.com> To: <php-general@lists.php.net> 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: 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 (#52269) next »