Greetings!
I'm trying to build php 4.01pl2 with GD support, but I cannot get it to compile.
It always fails like this ...
/bin/sh /root/work/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/root/work/php-4.0.1pl2/ext/gd -I/root/work/php-4.0.1pl2 -I/root/work/php-4.0.1pl2/main -I/usr/include/apache -I/root/work/php-4.0.1pl2/Zend -I/root/work/php-4.0.1pl2 -I/usr/local/include -I/root/work/php-4.0.1pl2/ext/mysql/libmysql -I/root/work/php-4.0.1pl2/ext/xml/expat/xmltok -I/root/work/php-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.slo
gd.c: In function php_if_imagecreatefromgif':
gd.c:472:gdImageCreateFromGif' undeclared (first use in this function)
gd.c:472: (Each undeclared identifier is reported only once
gd.c:472: for each function it appears in.)
gd.c: In function php_if_imagegif':
gd.c:629:gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.slo] Error 1
I understand that all gd versions higher than 1.6 lack gif support (for good reasons), but I'm at a loss to get it to work. I am trying to implement a php script that manipulates jpg's and I need gd support.
Any pointers would be appreciated.
david