DreamT has asked for the wisdom of the Perl Monks concerning the following question:

Hi!
My questions:
1. How do I add JPEG support to Imager?
2. Do I have to reinstall/recompile Imager afterwards?
3. If I have to reinstall/recompile, how do I do it?:-)

Replies are listed 'Best First'.
Re: Imager -> Jpeg support?
by tonyc (Hermit) on Jun 26, 2009 at 11:35 UTC

    You'll need to install libjpeg, if you're using a Linux variant, you'll need to install both the runtime and development packages, eg. libjpeg62 and libjpeg62-dev on Debian

    Yes, you'll need to reinstall Imager, if you installed Imager from the CPAN shell then:

    force install Imager

    should re-install it.

      Hi, i have the same problem, but on a Windows XP with Active Perl 5.10.0 Build 1004. I have no knowledge how to recompile the source. What can i do? Greetz Mops
Re: Imager -> Jpeg support?
by Anonymous Monk on Jun 25, 2009 at 07:24 UTC
      i know this file, but without an Compiler and without any knowledge about cygwin, is this file not realy helpfull. its my first time to recompile an module under windows. i'am a starter in Perl, so it's not so easy for me! with google, i found many people with the same problem, but no solution for my problem.

        Which version of Perl are you using, ActiveState? If so see Re^4: Activestate Perl module upgrade assistance regarding setup of a compiler.

        I don't use windows that much these days, however this blog post discusses compiling the jpeg library using MinGW (the post linked to above will tell you how to setup MinGW) on a windows platform.

        Thanks

        Martin