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

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?
  • Comment on Re: Re: Install CPAN module without root perminssions

Replies are listed 'Best First'.
Re: Re: Re: Install CPAN module without root perminssions
by LameNerd (Hermit) on Apr 14, 2003 at 21:39 UTC
    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?
Re: Install CPAN module without root perminssions
by crenz (Priest) on Apr 15, 2003 at 10:33 UTC

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