On Tue, 5 Nov 2002 08:55:26 -0800, [EMAIL PROTECTED] (Todd
Shifflett) wrote:

>Using: Mac OSX 10.2
>        libgd 2.0.4
>
>Can anyone help me make something of this?
>when I try and install GD.pm I get the following errors:
>
>
>cc -c  -I/sw/include -I/usr/local/include/gd -I/usr/lib 
>-I/System/Library/Perl -pipe -fno-common -no-cpp-precomp 
>-fno-strict-aliasing -O3   -DVERSION=\"2.041\" -DXS_VERSION=\"2.041\"  
>"-I/System/Library/Perl/darwin/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM 
>GD.c
>GD.xs: In function `newDynamicCtx':
>GD.xs:345: structure has no member named `gd_free'
>GD.xs: In function `gd_cloneDim':
>GD.xs:365: structure has no member named `alpha'
>GD.xs:365: structure has no member named `alpha'
>GD.xs:371: structure has no member named `thick'
>GD.xs:371: structure has no member named `thick'
>GD.xs: In function `XS_GD__Image_newFromPngData':
>GD.xs:499: structure has no member named `gd_free'

I'm not sure about the Mac angle on this, but GD has been going
thru alot of fixes lately, both the c library and the perl interface.

The best thing to do, is to get the latest GD2.04 from www.boutell.com,
and get the latest GD.pm module from cpan, which match. I've just
installed them.
Make sure you have all the neccessary libraries installed before
you install the GD libraries, like libpng, etc. Read the README in the
GD package.

I'm using perl 5.8, GD2.04 and everything in the new GD perl module
works, except for the "logo" function, which allows you to superimpose
a logo on graphics.







-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to