[thelist] perl - installing modules with restricted permissions

Colin Mitchell colin_mitchell at wgbh.org
Wed Sep 12 18:12:03 CDT 2001

I think the newer versions of the CPAN module are configured to do this for
you automatically, if you so desire.

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Dean Mah
> Sent: Wednesday, September 12, 2001 6:52 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] perl - installing modules with restricted
> permissions
> In UNIX, when you create the Makefile you can pass it the prefix
> argument as the root directory of the install.  For example,
>    perl Makefile.PL prefix=/tmp
>    make
>    make test
>    make install
> The 'make install' should start installing in /tmp.
> Dean
> Sam-I-Am writes:
> > I want to use Image::Size, but it is not available on my server.
> > I can't seem to use CPAN to install the module - not sufficient
> > permissions to write to the directories it wants to write to, but there
> > should be no reason why I can't install it under my home directory, and
> > then push this into @INC right?
> > Can someone tell me how to do this? I can't see where I would specify
> > what directory to take as root, or how I would change the Makefile.pl,
> > or anything else I could do short of rebuilding the tree I have locally
> > and ftp-ing it. (and it uses autoloader so there's files all over the
> > place, it's not just a matter of the Size.pm file)
> >
> > My other option is obviously to request Image::Size from my admin, which
> > if I end up relying on it I may do, but meantime....
> >
> > anyhow, I may be missing a profoundly obvious solution, or if you have
> > an idea what I'm talking about, please let me know. I'm on Win32 here
> > (test, dev), and linux there - the production web server.
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list