in reply to ImageMagick on the webhost

convert (usually written with lowercase "c") is a binary that uses the ImageMagick libraries. Image::Magick, what you are refering to, is a Perl module. Assuming that you are on some *NIX system, you could always try the following, to see what a file exactly is:

$ file /home/myname/lib/convert

To make sure that Image::Magick -the module- is around, just hit:

$ locate Magick.pm # or $ find / -name Magick.pm

Update: since the ImageMagick libraries are most likely installed on the system, you can put the Image::Magick module in your $HOME or somewhere and call it with use lib;. There are many nodes around that'll show you how to install modules in a non-default place.

--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
Re: Re: ImageMagick on the webhost
by Anonymous Monk on Mar 11, 2004 at 18:53 UTC
    I installed the one module you said Magick.pm and added that to my /lib/. I get the error
    Can't locate loadable object for module Image::Magick in @INC (@INC co +ntains: /home/name/public_html/lib /usr/lib/perl5/5.8.0/i386-linux-th +read-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-l +inux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_ +perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/li +b/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at check.pl l +ine 13 Compilation failed in require at check.pl line 13. BEGIN failed--compilation aborted at check.pl line 13.
    Did I do something wrong?

      Brother tachyon wrote a fine tutorial (A Guide to Installing Modules). I could partially quote it here, but it's better to read the whole thing :)

      --
      b10m

      All code is usually tested, but rarely trusted.
        I've read that before and I've installed many modules before on a server. I can't use the Makefile because it's on a webserver, not on my computer and I can't use shell. How do I fix "loadable" errors?
Re: Re: ImageMagick on the webhost
by Anonymous Monk on Mar 11, 2004 at 18:41 UTC
    Is there a way to use convert itself in my script that requires the module?