Please Help Me!
I am trying to compile PHP 4.06 with GD2 and it won't seem to work. I am running FreeBSD 4.3 without Xwindows because it is strictly a server envoronment and X is not needed. I am using the following configure command when configuring PHP:
./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache_1.3.14 --enable-ftp --with-pspell=/usr/local/include/pspell --enable-track-vars --with-gd=/usr/ports/graphics/gd2/work/gd-2.0.1 --enable-gd-native-ttf
It will complete the configuration fine. It looks like everything is going to work. However, when I do the "make" it starts to complile and then stops half way through with the following errors
usr/local/mysql/include/mysql -I/usr/local/include/pspell -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
gd.c: In function php_if_imagegif':
gd.c:1404:gdImageGif' undeclared (first use in this function)
gd.c:1404: (Each undeclared identifier is reported only once
gd.c:1404: for each function it appears in.)
*** Error code 1
Stop in /usr/local/src/php-4.0.6/ext/gd.
*** Error code 1
Stop in /usr/local/src/php-4.0.6/ext/gd.
*** Error code 1
I am not sure what to do. I really hope someone can help me. I have seen similar posts in other groups with no answers to the questions. Please email if you have any idea.