I'm attempting to install some perl modules in a user directory for the first time (I usually just use WHM) but I'm having some trouble. I've tried various modules always with the same results. I've tried each of the following from my install directory ~/perl/install/Module-Name:
perl Makefile.PL PREFIX=~/perl
perl Makefile.PL PREFIX=/home/userdir/perl
perl Makefile.PL LIB=~/perl PREFIX=~/perl
That part seems to go fine, I've checked the Makefile and it looks good with the local directory in all the right places, but whenever I run 'make' it always tries to access a directory outside the user's dir tree like this:
/bin/pwd: cannot open directory `../../../..': Permission denied
One particular module gave this error during creation of the Makefile:
Can't figure out your cwd! at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 168.
I checked to make sure the Cwd module is installed and it looks fine. I checked my environment variables and HOME is there.
I'm scratching my head, if anyone can even tell me where to start looking for the problem it would help because I'm stumped.
perl Makefile.PL PREFIX=~/perl
perl Makefile.PL PREFIX=/home/userdir/perl
perl Makefile.PL LIB=~/perl PREFIX=~/perl
That part seems to go fine, I've checked the Makefile and it looks good with the local directory in all the right places, but whenever I run 'make' it always tries to access a directory outside the user's dir tree like this:
/bin/pwd: cannot open directory `../../../..': Permission denied
One particular module gave this error during creation of the Makefile:
Can't figure out your cwd! at /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 168.
I checked to make sure the Cwd module is installed and it looks fine. I checked my environment variables and HOME is there.
I'm scratching my head, if anyone can even tell me where to start looking for the problem it would help because I'm stumped.