Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

personal cpan install config

by Dave Howorth (Scribe)
on Oct 02, 2008 at 13:26 UTC ( [id://715005]=perlquestion: print w/replies, xml ) Need Help??

Dave Howorth has asked for the wisdom of the Perl Monks concerning the following question:

I normally use the cpan shell as root. I now want to use it as myself, to install some modules into my home directory. I'm having trouble configuring it and my googling has failed me :(

Can anybody point me to a comprehensive tutorial?

My current issue is that an install fails with:
Running make install Appending installation info to /usr/lib/perl5/5.8.6/i586-linux-thread- +multi/perllocal.pod /bin/sh: /usr/lib/perl5/5.8.6/i586-linux-thread-multi/perllocal.pod: P +ermission denied
but I haven't found any info on how to use a personal location and/or not record the info.

Thanks, Dave

Replies are listed 'Best First'.
Re: personal cpan install config
by almut (Canon) on Oct 02, 2008 at 14:30 UTC

    It's not all that comprehensive, but maybe CPAN FAQ entry 5 ("I am not root, how can I install a module in a personal directory?") helps.

      Yes, that's the kind of thing but I've already been there, done that! And I've added settings for INSTALLARCHLIB, INSTALLSITEARCH and friends to the o conf makepl_arg it suggests, just in case.

      So something like that, but more comprehensive :)

      Thanks, Dave

        Hm.  So have the "makepl_arg" (or "mbuildpl_arg") options you specified in fact been stored persistently in your personal config file ~/.cpan/CPAN/MyConfig.pm?  Do they actually appear in the "perl Makefile.PL ..." (or "perl Build.PL ...") command line that's being issued by CPAN.pm?  Are you using LIB=... or PREFIX=..., or which other config setting?  Does the installation only fail for perllocal.pod, or is nothing at all being installed?

Re: personal cpan install config
by Corion (Patriarch) on Oct 02, 2008 at 13:28 UTC
      I don't think so. That seems to be about different problems, not about configuring the cpan shell. In particular I can't see anything about the perllocal.pod issue. Did I miss something there? Cheers, Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://715005]
Approved by bingos
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found