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

I have been banging my head against this too long, and have decided to ask for help.

I am trying to install Image::Magick 6.02, which I downloaded from CPAN. First I downloaded, and installed, the Image Magick rpm from ImageMagick. I edited Makefile.pl to be sure that both INC and LIBS contained the paths to the appropriate shared objects, as the README.txt file advises. When I run perl Makefile.pl, I get "Note (probably harmless): No library found for -llcms", but as that says, this is "probably harmless". The trouble comes when I run make, I get litteraly thosands of errors from Magick.xs. Things such as:

Magick.xs:8900: error: `OptionError' undeclared (first use in this fun +ction) Magick.xs:8908: error: parse error before ')' token Magick.xs:8910: error: parse error before "exception" Magick.xs:8920: error: dereferencing pointer to incomplete type

I am doing this on RedHat Linux 8.0, with perl 5.6.1

If anyone can tell me what I am doing wrong, or how I can get this to work, I would greatly appreciate it.

May the Force be with you

Replies are listed 'Best First'.
Re: Image::Magic installation problems
by Anonymous Monk on Oct 05, 2004 at 10:26 UTC

      Well thank you for pointing me to my missing dependancy. I have now installed that and no longer recieve the wanring from perl Makefile.PL. However, I am still getting the thosands of errors from Magick.xs. :-(

      May the Force be with you