PHP and GD revisited
| From: | ed at homes2see dot com | Date: | Wed, 23 Apr 2003 14:06:01 +0000 |
| Subject: | PHP and GD revisited | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145013@lists.php.net to get a copy of this message | ||
I was finally able to get the gd package installed and php did recognize
the install path when I used just --with-gd=/usr/local as someone had
suggested. Now I'm recompiling php and running into the following error.
make[1]: Entering directory `/home/ed/php-4.2.3/ext/gd'
/bin/sh /home/ed/php-4.2.3/libtool --silent --mode=compile gcc -I.
-I/home/ed/
hp-4.2.3/ext/gd -I/home/ed/php-4.2.3/main -I/home/ed/php-4.2.3
-I/home/httpd/in
lude -I/home/ed/php-4.2.3/Zend -I/usr/local//include
-I/home/ed/php-4.2.3/ext/m
sql/libmysql -I/home/ed/php-4.2.3/ext/xml/expat -DLINUX=2 -DUSE_HSREGEX
-DUSE_
XPAT -I/home/ed/php-4.2.3/TSRM -g -O2 -prefer-pic -c gd.c
gd_ctx.c: In function `_php_image_output_ctx':
In file included from gd.c:83:
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:1209: structure has no member named `free'
make[1]: *** [gd.lo] Error 1
make[1]: Leaving directory `/home/ed/php-4.2.3/ext/gd'
make: *** [all-recursive] Error 1
Any ideas what I need to do here?
Thanks,
Ed