Home: Perl Programming Help: Advanced:
Image::Magick



mmcw2201
User

Sep 13, 2002, 3:43 AM


Views: 2127
Image::Magick

I am not able to install modules myself. My provider will not allow it.

I read and tried to upload some moduules myself by uploading the **.pm files into a dir and then use the folling to make the link to the module.

use lib '/home/test/cgi-bin/Modules';
use Image::magick;

Is this possible to do with the Image::magic module also or will it work oly when the make module is started (Therefor you need root access and telnet.

Michel


thebitch
User

Sep 13, 2002, 4:42 AM


Views: 2124
Re: [mmcw2201] Image::Magick

its possible to do.
get the same operating system and stuff
as your server,
and build the module and all the requirements

when making a module, after
you do 'make', you'll notice a directory
called 'blib' is created.

upload your blib directory to your server,
and then do a use blib '/wher/myblib/lies';
and you'll be set.

if u have more than 1 module, just upload
the contents of each blib into the blib directory
on your server.

if you can't setup the same build env
as your server (same os .... ),
then try to get a PPM off of ActiveState.com
(it's just a tarball of the blib directory)


mmcw2201
User

Sep 13, 2002, 10:48 AM


Views: 2121
Re: [thebitch] Image::Magick


In Reply To
its possible to do.
get the same operating system and stuff
as your server,
and build the module and all the requirements

when making a module, after
you do 'make', you'll notice a directory
called 'blib' is created.
-- How to do that? I can not execute any command on the server from the command line. My provider will not allow me to use something like telnet.
upload your blib directory to your server,
and then do a use blib '/wher/myblib/lies';
and you'll be set.

if u have more than 1 module, just upload
the contents of each blib into the blib directory
on your server.

if you can't setup the same build env
as your server (same os .... ),
then try to get a PPM off of ActiveState.com
(it's just a tarball of the blib directory)



(This post was edited by mmcw2201 on Sep 13, 2002, 10:49 AM)


thebitch
User

Sep 16, 2002, 3:18 AM


Views: 2105
Re: [mmcw2201] Image::Magick


In Reply To
How to do that? I can not execute any command on the server from the command line. My provider will not allow me to use something like telnet.

That's why you do it on your computer,
your computer, your computer ... ;)

If your host is running RedHat 7.2,
install RedHat 7.2 on your system at home.

If he's running FreeBSD 3,
install FreeBSD 3 on your system at home.

http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/