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

I am currently having a web site host by a great place which offers me:

-perl support

-a telnet shell account

-and other nice things

-but no Image::magick

I would really like to use the perl module perl::Magick for the site, and understand that installing a module is possible even when I don't have access to any directories other than the one given to me. Is this true?

Even if it is possible to install the perl module, I understand that Image Magick needs to be installed as well.

Can I somehow install both? Do I need to pester my host to install one, and I the other? Or do I hunt for a host that will support image::magick?

Thanks in advance for any comments!

  • Comment on Using Image::Magick and perlMagick on a remote server

Replies are listed 'Best First'.
Re: Using Image::Magick and perlMagick on a remote server
by strredwolf (Chaplain) on Feb 22, 2001 at 09:25 UTC
    You need to bug your host to install both. Otherwize, alot of enviroment varibles would need to be tweeked before you can do anything... deep heavy wizardry. I doubt merlyn would want to deal with it if faced with that situation.

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";

      Thanks for the help....how about the GD module? Is this something I could install more easilly in my situation?
        Nah, eazy would be having root access on your own box. Installing any module will be difficult at best.

        --
        $Stalag99{"URL"}="http://stalag99.keenspace.com";

Re: Using Image::Magick and perlMagick on a remote server
by a (Friar) on Feb 22, 2001 at 09:54 UTC
    I thought it wasn't awful (never tried but ...) you need to install it in a subdir and muck w/ @INC by; use lib ./myperl/lib; env vars (PERLLIB or PERL5LIB); or perl -I<dir> (see perldoc perlrun for better suggestions). You may have to down load the cpan tarball and tell it to install under your home dir to start w/, of course.

    a

      The main problem will be getting all the image libraries together that you need for compiling.

      Installing the module itself (the Perl stuff) should be pretty straightforward. To repeat for the n-th time: Effective Perl Programming has a great section on installing modules (chapter "Using Packages and Modules", pages 163-177).

      Christian Lemburg
      Brainbench MVP for Perl
      http://www.brainbench.com