Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Local installation of perl module
September 5, 2005, 1:07 pm
rate this thread
I need to install a perl module without root privileges.
I've followed some advices found on the web: created a .cpan directory,
copied Config.pm, renamed it in MyConfig.pm and changed all the
'/root/.cpan' instances with my local .cpan dir, created a local perl
dir and changed PERL5LIB and MANPATH variables.
Then, I launched
perl -MCPAN -e 'shell'
changed the settings with 'o conf' and then:
Everything goes well up to when it has to actually install the module,
becuase it still tries to do it in the root installation:
Warning: You do not have permissions to install into
/usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/Install.pm line 114.
Permission denied at
/usr/local/perl-5.8.3/lib/5.8.3/ExtUtils/Install.pm line 176
make: *** [pure_site_install] Error 255
/usr/bin/make install -- NOT OK
You may have to su to root to install the package
What am I missing?
- Gunnar Hjalmarsson
September 5, 2005, 11:24 pm
- » How to find all modules, required by a given CPAN module
- — Previous thread in » PERL Modules Announcements