in reply to Re: Install CPAN module without root perminssions
in thread Install CPAN module without root perminssions

use lib '/home/guest';

FYI, that never worked for me. When using PREFIX=/home/guest, I have to mention the explicit module base path (not the prefix used) in PERL5LIB or use lib qw(...). E.g.

use lib '/home/guest/lib/site_perl/5.6.1';

Replies are listed 'Best First'.
Re: Install CPAN module without root perminssions
by Feral_Shade (Novice) on Apr 15, 2003 at 15:13 UTC
    My thanks to everyone.
    Hopefully I will get it working.
Re: Re: Install CPAN module without root perminssions
by thejoker101 (Initiate) on Apr 14, 2003 at 21:27 UTC
    I have having similar problems. I have a sort of add-on question to post, though.

    I don't have permissions to the directory where perl is installed. I want to keep all of my modules I need in a separate directory. I can do a "perl Makefile.PL PREFIX=/to/my/dir", that's fine, but after I do a "perl make", and a "perl test", I try and do a "perl install". This tries to do something back in the original perl directory where I don't have permissions.

    Is it possible to "install" the modules in my own directory so that it doesn't ever "touch" the original perl directory? I thought that was what the PREFIX was for when I originally did a "perl Makefile.PL PREFIX...", is that wrong?
      The make install should install to the PREFIX you specified in your perl Makefile.PL.
      I had the same problem. Maybe you should just delete the stuff you "un-tarred"
      and "un-tar" it again to make sure you are doing a clean perl Makefile.PL PREFIX=/whatever
      What is the perl module?

      I second LameNerd's opinion. I've never had make install install anywhere else than my home directory. Which module are you talking about?