in reply to My Favorite Module: CPAN
in thread New Module Area?
When you find something that sounds way-super-cool, concentrate on:
For example, you might want to install Lingua::EN::Gender. This will download the tarball, configure it, make it, make test and make install it for you, saving you the trouble. Why should a Perl hacker have to wrestle with gcc? I say, let's leave the C coding to St. Wall, and his Disciples.install package::name
When you first run it, it will ask you some congif questions; I recommend asking the Gods to install any dependencies for you; I have found them to be better at knowing these things than I am.
It might help to run this as root.
This last comment perplexes me a little. When 'might' it help run this as root?
My experience has included piles of Perl development but very little module installation. In the last few months I've been trying my hand at this on the Linux boxes I use as webmaster/developer, but I keep running into privilege violations, and I'm not really sure why. It's a little frustrating, and I hope this post isn't going to increase my 'goof!' rating on PM.
What I'd like to do is create a personal library of stuff from CPAN that my web provider has not yet installed (this is on a Linux box). I would then do a use lib in my code to remind Perl where that module is.
I assume that when I try to install stuff from CPAN (using the CPAN module), it thinks I'm running as root, hence the privilege violations. What do I have to do to get the CPAN installation process to understand that I don't want to alter the system-wide Perl installation, I just want to affect my installation (that is, just my directories)? The answer so far has eluded me.
Any guidance would be most appreciate. Thanks.
--t. alex
"Excellent. Release the hounds." -- Monty Burns.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: My Favorite Module: CPAN
by tilly (Archbishop) on Jan 06, 2002 at 22:08 UTC | |
|
Re: Re: My Favorite Module: CPAN
by Aighearach (Initiate) on Jan 02, 2002 at 20:35 UTC |