PDA

View Full Version : Perl module wont install



Don Walters
04-28-2008, 07:42 AM
I am having trouble getting a perl module to install. The module is called Image::Magick and I'm getting errors during compile.

I went to their website here and saw it requires ImageMagick 6.2 or greater.

http://www.imagemagick.org/script/perl-magick.php

Looking at the server I'm on, we're running ImageMagick 6.0.7.

I have asked Bluehost support to upgrade this package and it seems they are unwilling to modify server software, probably because I'm on a shared hosting account. Understandable, but I think it was crappy how they avoided telling me this directly and essentially gave me the runaround allowing me to draw my own conclusions about why they won't help me.

I have tried installing the latest ImageMagick package under my home directory and it seemed to work fine. It even installed the perl module I needed, also under my home directory. So far, so good. But now when I attempt to "require" the perl module, I'm getting this error...

Image::Magick object version 6.0.2 does not match bootstrap parameter 6.4.0 at /usr/lib/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 253

Which apparently is because the old ImageMagick version on the server (6.0.2) is still being found by the perl module. So my question is, how can I "point" my perl module at the newer version of ImageMagick that is installed under my home directory?

Maybe I am pushing the boundaries of what you can do with shared hosting, but I don't think this one module warrants the upgrade of my account to a higher status.

siguie
04-29-2008, 04:21 AM
Yeah I tried to setup "PerlMagick" too but in addition to that you need to install a few other packages first and it just doesn't seem worth it. Perl is not particularly efficient and on a shared server you're going to start running into CPU issues. Besides there are a lot of different ways to access the imagemagick routines. :)

vojnet
05-18-2010, 11:42 PM
"Perl is not particularly efficient" - what does that mean? What is Perl not efficient for?"