Re: GD woes: READ THIS

From: Date: Fri, 06 Oct 2000 15:47:27 +0000
Subject: Re: GD woes: READ THIS
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-171@lists.php.net to get a copy of this message
". By default, GD installs itself under /usr/local, so when > > you compile php, instead of just saying --with-gd, you have to amend it > > with --with-gd=/usr/local" You know, some of us have actually done this and gd still creates problems. Maybe down the road, this will provide a solution to the apparently never ending series of gd related problems. http://mmcc.cx/php_imlib/ Thanks. Duncan C. Kinder dckinder@mountain.net ----- Original Message ----- From: "Tigran Nazaryan" <tigran@vost.net> To: <php-install@lists.php.net> Sent: Wednesday, October 04, 2000 11:47 AM Subject: Re: [PHP-INST] GD woes: READ THIS > Hello, > > Just want to add something. I guess a lot of people are using the old GD > libraries (<gd-1.6) and have a lot of scripts generating gifs, and dont > have time to change all to png (like me:), but still want to have > php4.0.2. So one solution is to have both sources of php4.0.0 and > php4.0.2, replace ext/gd directory of the later with one from 4.0.0 > source. The rest..., as in the manuals. > > Hope this will help somebody. > > -- > Tigran Nazaryan > > "Ashley M. Kirchner" wrote: > > > > Ok folks, I've seen this come up several times now. I'm not sure > > the answer is anywhere in any readme file, or other similar installation > > guide, but it really should. And, if it already is, then people should > > really learn to READ THE MANUAL. > > > > Problems with GD, specifically with the function > > gdImageCreateFromGif() are due to the fact that starting from version > > 1.6 from GD, it no longer supports GIF files. Now, IF you're getting > > errors when you try to compile PHP, that means you have installed a > > newer version of GD (anything higher than version 1.6). If that's the > > case, then you MUST TELL php's configure script where you installed the > > new library. By default, GD installs itself under /usr/local, so when > > you compile php, instead of just saying --with-gd, you have to amend it > > with --with-gd=/usr/local > > > > You should also pay attention when the configure script runs. It > > tells you a lot of details when it's looking for the different pieces > > that it needs. The GD specific section will look something like this: > > > > checking whether to include GD support... yes (static) > > checking for gdImageString16 in -lgd... yes > > checking for gdImagePaletteCopy in -lgd... yes > > checking for gdImageColorClosestHWB in -lgd... yes > > checking for compress in -lz... yes > > checking for png_info_init in -lpng... yes > > checking for gdImageColorResolve in -lgd... yes > > checking for gdImageCreateFromPng in -lgd... yes > > 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... yes > > checking for gdImageCreateFromJpeg in -lgd... yes > > checking for libXpm (needed by gd-1.8+)... no > > configure: warning: If configure fails try --with-xpm-dir=<DIR> > > checking for gdImageCreateFromXpm in -lgd... yes > > > > NOTE: I don't need, nor have Xpm installed, hence that last error. > > > > Pay attention to where it looks for gdImageCreateFromGif, notice how > > it says 'no' because the version of GD that I have installed (which is > > 1.8.3) doesn't support it. This will successfully shut off everything > > related to the creation of GIF files within PHP, and you shouldn't get > > any errors about it anymore. > > > > Someone please put this information somewhere that's publicly > > available for everyone to read... > > > > AMK4 > > > > -- > > H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP! > > |____________________________________________________________________ > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Ashley M. Kirchner <mailto:ashley@pcraft.com> . > > 303.442.6410 x130 > > Director of Internet Operations / SysAdmin . 800.441.3873 x130 > > Photo Craft Laboratories, Inc. . eFax 248.671.0909 > > http://www.pcraft.com . 3550 > > Arapahoe Ave #6 > > .................. . . . . Boulder, CO 80303, USA > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#171) next »