I am trying to get gd working, but I cant seem to get php to like
anything.  Here is my configure line:

./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache2/bin/apxs --with-xml --enable-bcmath
--enable-calendar --with-curl --enable-ftp --with-gd
--with-jpeg-dir=/root/filez/jpeg-6b --with-png-dir=/usr --with-xpm
--enable-magic-quotes --with-mysql --enable-discard-path --with-pear
--enable-sockets --enable-track-vars --enable-versioning --with-zlib

When I run a "make" I get this error:

/root/filez/php-4.3.9/ext/gd/libgd/gd_jpeg.c:42:21: jpeglib.h: No such
file or directory
/root/filez/php-4.3.9/ext/gd/libgd/gd_jpeg.c:43:20: jerror.h: No such
file or directory
....
....
/root/filez/php-4.3.9/ext/gd/libgd/gd_jpeg.c:450: field `pub' has
incomplete type
/root/filez/php-4.3.9/ext/gd/libgd/gd_jpeg.c:455: confused by earlier
errors, bailing out
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1

[EMAIL PROTECTED] xpm-3.4k-linux]# locate jpeglib.h
/root/filez/jpeg-6b/jpeglib.h

[EMAIL PROTECTED] xpm-3.4k-linux]# locate jerror.h
/root/filez/jpeg-6b/jerror.h

Basically, I am trying to get a system running with the following
support:

Apache2
Php (4.3.9 or 5.0.2)
Mysql
Gd
Jpeg 
Png

When I configure php without --with-jpeg and --with-png it seems to
install ok, but it wont resize any images.

Thanks for any help.

Matt

Reply via email to