logo       

Re: Perl Module Installation in $HOME: msg#00083

Subject: Re: Perl Module Installation in $HOME
At 11:32 am -0600 24/8/06, Doug McNutt wrote:

At 17:03 +0100 8/24/06, David Cantrell wrote:
Run the CPAN shell as root as all will be well.

Idonwannadodat!

...The result is that I can compile and install without being root. My stuff does not get any chance to screw up something like a system update from Apple or some Linux distribution. I happily accept the responsibility for fixing things up if such an update requires changes to my stuff. My own perl modules end up in $HOME/local so there can be no accidental naming confusion.

The problem is - - - How do I tell cpan to do things that way? - especially when there is a batch of dependencies to worry about.

I have never run the CPAN shell as root and I don't see what problems you're referring to. I just do 'sudo cpan' and everything is installed where it should go.


Eremita:~ jd$ sudo cpan
CPAN: File::HomeDir loaded ok

cpan shell -- CPAN exploration and modules installation (v1.87)
ReadLine support enabled

cpan> install CGI
CPAN: Storable loaded ok
Going to read /Users/jd/.cpan/Metadata
  Database was generated on Thu, 24 Aug 2006 01:35:30 GMT
Running install for module CGI
...
...
All tests successful, 1 subtest skipped.
Files=18, Tests=503,  3 wallclock secs ( 1.75 cusr +  0.50 csys =  2.25 CPU)
  /usr/bin/make test -- OK
Running make install
Installing /usr/local/lib/perl5/5.8.8/CGI.pm
Installing /usr/local/lib/perl5/5.8.8/CGI/Cookie.pm
Installing /usr/local/share/man/man3/CGI.3
... etc.

cpan>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe