Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- From: "Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Jun 2007 01:47:46 +1000
"Francesco Moi" <francescomoi@xxxxxxx> wrote in message news:1181054164.783325.223480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Your knowledge is outdated. According to the GD FAQ, GIF support was
restored in version 2.0.38, released July 2004.
<http://www.libgd.org/FAQ#Does_gd_support_GIF_images.3F>
Yep, you're right, but no clue about how to configure gd to support
GIF:
-----------------
[]# ./configure --help
`configure' configures GD 2.0.34 to adapt to many kinds of systems.
Sorry if I'm missing the point(s) here but:
1) Sherm has told you that GIF support was restored in version 2.0.38 ... but you appear to be trying to build version 2.0.34. (IIRC, GIF support is now enabled by default and doesn't require any special config option - but I could be wrong about that.)
2) The original problem you reported about being unable to locate object method "newFromGif" has nothing to do with your version of the gd library, but everything to do with your version of the GD module. (At least I *think* that's the case ... if your version of GD has "newFromGif", but gd doesn't have GIF support, then I think the GD build process simply dies.)
All I can say with certainty is that you'll need to build a gd that supports the GIF format, and you'll need to build a GD that includes the "newFromGif" method.
Cheers,
Rob
.
- Follow-Ups:
- References:
- How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- From: Francesco Moi
- Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- From: Sherm Pendley
- Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- From: Francesco Moi
- How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Prev by Date: Re: help on win32::serialport
- Next by Date: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Previous by thread: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Next by thread: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Index(es):
Relevant Pages
|