PHP 4.2.* & GD 2.0.4
| From: | EG Ortego | Date: | Tue, 29 Oct 2002 17:47:05 +0000 |
| Subject: | PHP 4.2.* & GD 2.0.4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8964@lists.php.net to get a copy of this message | ||
Iv'e been trying to compile php with gd,
I had been running PHP 4.2.1 and first tryed to use that version when I was unsucessful I figured
the next PHP version might be sucessful, well I I have gd installed and working but get identical
make errors in PHP-4.2.1 and PHP-4.2.3...
gcc -I. -I/usr/local/src/php-4.2.3/ext/gd -I/usr/local/src/php-4.2.3/main -I/usr
/local/src/php-4.2.3 -I/usr/local/src/apache_1.3.23//src/include -I/usr/local/sr
c/apache_1.3.23//src/os/unix -I/usr/local/src/php-4.2.3/Zend -I/usr/local/includ
e/freetype2/freetype -I/usr/local//include -I/usr/local/mysql/include/mysql -I/u
sr/local/src/php-4.2.3/ext/xml/expat -I/usr/local/src/php-4.2.3/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:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1
Any help would be apreciated.
HELP!
Cheers,
Eric.