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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Image::Magic installation problems
by Anonymous Monk on Oct 05, 2004 at 10:26 UTC | |
by JediWizard (Deacon) on Oct 05, 2004 at 12:54 UTC |