Hi,
I am trying to install PHP-4.1.2 with GD support. But getting error when doing 'make'.
The script I used to configure PHP is as follows:
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-gettext --with-gd --with-gd-lib=/usr/local --with-jpeg-dir=/usr/src/jpeg-6b --with-zlib-dir=/usr/local/zlib-1.1.4 --with-png-dir=/usr/local --with-free-type-dir=/usr/local --enable-track-vars --with-config-file-path=/usr/local/apache/php --prefix=/usr/local/apache/php
The error is as follows:
In file included from gd.c:83:
gd_ctx.c: In function _php_image_output_ctx':
gd_ctx.c:70: structure has no member namedfree'
gd_ctx.c:98: structure has no member named free'
gd.c: In function_php_image_create_from':
gd.c:1176: structure has no member named free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory/usr/local/php-4.1.2/ext/gd'
make[2]: [all-recursive] Error 1
make[2]: Leaving directory /usr/local/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/usr/local/php-4.1.2/ext'
make: [all-recursive] Error 1
Has anybody encountered this error and know how to tackle it?
Please help....