#31043 [Bgs]: Error trying to build with GD 2.0.33

From: Date: Fri, 10 Dec 2004 03:41:49 +0000
Subject: #31043 [Bgs]: Error trying to build with GD 2.0.33
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70005@lists.php.net to get a copy of this message
 ID:               31043
 User updated by:  phpbb dot mods at phpmix dot com
 Reported By:      phpbb dot mods at phpmix dot com
 Status:           Bogus
 Bug Type:         GD related
 Operating System: RHEL 3
 PHP Version:      4.3.9
 New Comment:

I meant _write_ support for GIF _Animation_. I believe 4.3.9 adds
support for writing GIFs, but not GIF animations.

A bug in the manual? ..it suggests it is possible to compile PHP with a
different GD library than the one PHP provides as an extension. I'm
guessing this is not completely correct. :(


Will this patch be included in 4.3.10 ?
http://www.zend.com/lists/php-dev/200411/msg00171.html


Previous Comments:
------------------------------------------------------------------------

[2004-12-10 02:03:36] phpbb dot mods at phpmix dot com

I've tried without success. The only reference I've about it is here:
http://www.zend.com/lists/php-dev/200411/msg00171.html
http://hyvatti.iki.fi/~jaakko/sw/

Do you mean the GIF animation functions are already implemented? If so,
could you please give a pointer on how to get more information about new
functions?

Thanks

------------------------------------------------------------------------

[2004-12-10 01:20:59] iliaa@php.net

So does bundled GD lib as of PHP 4.3.9

------------------------------------------------------------------------

[2004-12-09 23:31:25] phpbb dot mods at phpmix dot com

Main reason is GD 2.0.33 now supports writing GIF animations.

------------------------------------------------------------------------

[2004-12-09 23:24:40] derick@php.net

We recommend the bundled GD version, why to you want to use another
one?

------------------------------------------------------------------------

[2004-12-09 23:00:34] phpbb dot mods at phpmix dot com

Description:
------------
Quoted from the online PHP manual:
To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD
base install directory. To use the recommended bundled version of the GD
library (which was first bundled in PHP 4.3.0), use the configure option
--with-gd. GD library requires libpng and libjpeg to compile.

Well, I've tried to build PHP 4.3.9 with GD 2.0.33 using
--with-gd=/usr/local and I get the following errors:

ext/gd/gd.lo(.text+0x1267): In function `zif_imagecolormatch':
/usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:807:
undefined reference to `gdImageColorMatch'
ext/gd/gd.lo(.text+0x2cd4): In function `zif_imagerotate':
/usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:1117:
undefined reference to `gdImageRotate'
ext/gd/gd.lo(.text+0x5bf5): In function `zif_imageline':
/usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:2189:
undefined reference to `gdImageAALine'
ext/gd/gd.lo(.text+0x6c7c): In function `zif_imageellipse':
/usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:2322:
undefined reference to `gdImageEllipse'
ext/gd/gd.lo(.text+0x9d68): In function `zif_imageantialias':
/usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:3883:
undefined reference to `gdImageAntialias'

I've tried to use other arguments combinations when configuring the
build, but the result is PHP is still using its own bundled GD
extension.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31043&edit=1


Thread (9 messages)

« previous php.bugs (#70005) next »