Image::Magick Perl module installation failure

bartek

Member
Dec 19, 2003
14
0
151
Attempting to install the Image Magick Perl Module results in a series of errors and failure.
I believe the problem starts at line 884:
Magick.xs:64:31: magick/MagickCore.h: No such file or directory

but I'm attaching the entire log.

Also, submitting a ticket theough WHM results in:

Software error:

YAML Error: Stream does not end with newline character
Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE
Line: 0
Document: 0
at /usr/lib/perl5/site_perl/5.8.5/YAML.pm line 33

For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

(I did write to Adam)

Any ideas how to get around it? I need this module to run something for a client... :(
 

Attachments

bartek

Member
Dec 19, 2003
14
0
151
Turns out this bug has been originally submitted just over a year ago (#3601)


Is there a workaround to installing ImageMagick Perl modules?
 

Stephanie_R

Active Member
Mar 1, 2004
36
0
156
It's better to install from source as the versions are constantly changing and the dependencies too.

First remove any old RPM installations

rpm -qa | grep -i Magick

rpm -e anything that pops up.

Go to your favourite install directory (/usr/src) whatever

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

tar xvzf ImageMagick.tar.gz

cd into the new folder (current version is ImageMagick-6.3.3)

Configure it with whatever crazy stuff the customer needs:

./configure --enable-shared --with-modules --without-x --with-gs-font-dir=default --with-

perl=yes --with-xml=yes --with-zlib=yes --with-jpeg=yes

(And any other mindless stuff you feel like throwing in :)

make && make install

From the folder you are in:

cd PerlMagick

perl Makefile.PL

make

make install

And you're all done.