Re: GD Sucks

From: Date: Fri, 25 Aug 2000 23:04:56 +0000
Subject: Re: GD Sucks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13753@lists.php.net to get a copy of this message
Since your configure line isn't finding the gd library, make sure that you specify: --with-gd=/path/to/installed/gd/library -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ On Fri, 25 Aug 2000, Christopher Riordan wrote: > Date: Fri, 25 Aug 2000 18:42:28 -0400 > From: Christopher Riordan <cpr@hal-9000.net> > To: php-general@lists.php.net > Subject: [PHP] GD Sucks > > ok, I can compile GD and php 4.0.1pl2 just fine. but I need to use the jpeg > feature of GD. so I downloaded jpeg-6b compiled tested and installed, just > fine, did the same for libpng-1.0.8 then recompiled gd to look at the jpeg > libraries. How ever when I goto recompile PHP it won't see the jpeg support. > in the Gd library, I have tried all the possibilites I can think of, some I > can get to see the CreateFromJpeg, but then Apache bombs out while compiling > not being able to see the jpeg libraries. > > BTW I'm running FreeBSD 3.2, I know I should upgrade, but don't have the > time nor wanting to reinstall everything on a production box. > > I noticed the ftp support isn't there either, during the configure portion > > This is the configure view I see now, and can't get it to change anymore > this is using. > > ./configure --with-apache=/usr/local/src/apache_1.3.12 --with-ftp --with-jpe > g-dir=/usr/local/src/jpeg-6b --with-png-dir=/usr/local/src/libpng-1.0.8 --wi > th-mysql --with-xml --enable-track-vars --with-gd > > checking whether to include GD support... yes (static) > checking for gdImageString16 in -lgd... (cached) no > checking for gdImagePaletteCopy in -lgd... no > checking for gdImageColorClosestHWB in -lgd... no > checking for compress in -lz... no > checking for png_info_init in -lpng... no > checking for gdImageColorResolve in -lgd... no > checking for gdImageCreateFromPng in -lgd... no > checking for gdImageCreateFromGif in -lgd... no > checking for gdImageCreateFromXbm in -lgd... no > checking for gdImageWBMP in -lgd... no > checking for libjpeg (needed by gd-1.8+)... yes > checking for jpeg_read_header in -ljpeg... no > no > checking for gdImageCreateFromJpeg in -lgd... no > checking for libXpm (needed by gd-1.8+)... no > configure: warning: If configure fails try --with-xpm-dir=<DIR> > checking for gdImageCreateFromXpm in -lgd... no > checking whether to include ttf support... yes > > > This is what I get with this > > ./configure --with-apache=/usr/local/src/apache_1.3.12 --with-ftp --with-jpe > g-dir=/usr/local/src/jpeg-6b --with-png-dir=/usr/local/src/libpng-1.0.8 --wi > th-mysql --with-xml --enable-track-vars --with-gd=/usr/local/src/gd-1.8.3 > > checking whether to enable FTP support... no > checking whether to include GD support... yes (static) > checking for gdImageString16 in -lgd... yes > checking for compress in -lz... yes > checking for png_info_init in -lpng... no > checking for gdImageColorResolve in -lgd... yes > checking for gdImageCreateFromPng in -lgd... no > checking for gdImageCreateFromGif in -lgd... no > checking for gdImageCreateFromXbm in -lgd... yes > checking for gdImageWBMP in -lgd... yes > checking for libjpeg (needed by gd-1.8+)... yes > checking for jpeg_read_header in -ljpeg... no > no > checking for gdImageCreateFromJpeg in -lgd... no > checking for libXpm (needed by gd-1.8+)... no > configure: warning: If configure fails try --with-xpm-dir=<DIR> > checking for gdImageCreateFromXpm in -lgd... no > checking whether to include ttf support... yes > > > so I am giving up soon before I break something around me, =P > > > Christopher Riordan > http://www.hal-9000.net > > > -- > 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 (#13753) next »