GD Sucks
| From: | Christopher Riordan | Date: | Fri, 25 Aug 2000 22:42:28 +0000 |
| Subject: | GD Sucks | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13749@lists.php.net to get a copy of this message | ||
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