[Chicago-talk] "I don't have permission to install a module onthe system!"

petemar1 petemar1 at perlmonk.org
Fri Dec 26 19:51:58 CST 2003


Is there a way of resolving module dependencies without manually
installing(munging) everything? I recall there's a cpan module that
auto-installs modules, but don't remember it's name.

-----Original Message-----
From: chicago-talk-bounces at mail.pm.org
[mailto:chicago-talk-bounces at mail.pm.org]On Behalf Of Steven Lembark
Sent: Monday, December 15, 2003 11:13 AM
To: Chicago.pm chatter
Subject: Re: [Chicago-talk] "I don't have permission to install a module
onthe system!"




-- Andy Lester <andy at petdance.com>

>> I Read and followed The Friendly, shiny Manual and met with limited
>> results when attempting to install modules without root. Any pointers,
>> hints or helpful riddles? Does one need root for CPAN.pm?
>
> You need to install the modules to your home directory.  Do this:
>
> perl Makefile.PL PREFIX=/your/home/directory/lib
> make
> make test
> make install

That or install them into a standard sandbox area. The
main advantage to that -- aside from segregating the
floatsom of development -- is being able to share the
sandbox tree for common installs.

If everyone can agree on a place to install non-stock
modules you can use lib /common_area in all of the code;
relying on perl code with "use lib $ENV{HOME}/blah" can
be dangerous unless system has only a single user.


--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508
_______________________________________________
Chicago-talk mailing list
Chicago-talk at mail.pm.org
http://mail.pm.org/mailman/listinfo/chicago-talk




More information about the Chicago-talk mailing list