I installed 4.0.2 but it would only compile if I used the --without-gd option. Otherwise it complains gd.c:500: `gdImageCreateFromGif' undeclared, I'll get a dump:
My configure line:
./configure --with-mysql --with-apache=../apache_1.3.12 --enable-track-vars
The stuff:
make[3]: Entering directory /usr/src/php-4.0.2/ext/gd'
gcc -I. -I/usr/src/php-4.0.2/ext/gd -I/usr/src/php-4.0.2 -I/usr/src/php-4.0.2/main -I/usr/src/apache_1.3.12/src/include -I/usr/src/apache_1.3.12/src/os/unix -I/usr/src/php-4.0.2/Zend -I/usr/src/php-4.0.2 -I/usr/src/php-4.0.2/ext/mysql/libmysql -I/usr/src/php-4.0.2/ext/xml/expat/xmltok -I/usr/src/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
gd.c: In functionphp_if_imagecreatefromgif':
gd.c:500: gdImageCreateFromGif' undeclared (first use in this function)
gd.c:500: (Each undeclared identifier is reported only once
gd.c:500: for each function it appears in.)
gd.c: In functionphp_if_imagegif':
gd.c:657: gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory/usr/src/php-4.0.2/ext/gd'
make[2]: [all-recursive] Error 1
make[2]: Leaving directory /usr/src/php-4.0.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/usr/src/php-4.0.2/ext'
make: [all-recursive] Error 1
I'm running Redhat Linux with the 2.2.16 kernel, gd the latest is installed and worked fine with php4.0.1p2
...any wisdom?
Thank you.