php+gdlib 2.0.7 with gif support
| From: | cj | Date: | Mon, 16 Dec 2002 04:45:13 +0000 |
| Subject: | php+gdlib 2.0.7 with gif support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9403@lists.php.net to get a copy of this message | ||
G'day All
I am trying to compile php with gdlib+gif support,
I am using gd 2.0.7 which as already been patched to add back in the gif
stuff.
When I run
./configure --with-jpeg-dir=/usr/local/src/jpeg-6b --with-png-dir=/usr/local
/src/libpng-1.2.4 --with-zli
b --with-gd=/usr/local/src/gd-2.0.7gif --with-apache=../apache_1.3.26 --with
-pgsql=/usr/local/pgsql --wi
th-mysql=/usr/local/mysql --with-iodbc-dir=/usr/local/src/odbcsdk --enable-d
ebug=no --enable-track-vars
--enable-cli
It runs through fine, no errors
but when I run make I get the following message.
gcc -I. -I/usr/local/src/php-4.2.2/ext/gd -I/usr/local/src/php-4.2.2/main -I
/usr/local/src/php-4.2.2 -I/usr/local/src/apache_1.3.26/src/include -I/usr/l
ocal/src/apache_1.3.26/src/os/unix -I/usr/local/src/php-4.2.2/Zend -I/usr/lo
cal/src/gd-2.0.7gif/ -I/usr/local/mysql/include -I/usr/local/pgsql/include -
I/usr/local/src/php-4.2.2/ext/xml/expat -I/usr/local/src/php-4.2.2/TSRM -g
-O2 -c gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1208: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/ext'
make: *** [all-recursive] Error 1
I have tried php 4.2.2 and 4.2.3 I have also tried with clean copies of the
source code, so there isn't any thing left over from from previous attemps.
any help would be much apreciated.
Thanks
CJ