in reply to Re: LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root
in thread LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root
Many thanks kroach. I had overlooked the detail that there are indeed several ways to install PERL.
Yesterday, I had configured the installation as recommended on http://www.cpan.org/src/README.html :
tar -xzf perl-5.20.2.tar.gz cd perl-5.20.2 ./Configure -des -Dprefix=$HOME/localperl make make test make install
As I recognize now the -Dprefix=$HOME/localperl makes essentially a "personalized" version of PERL for the installing user. In my case this user is root - that explains the problem of the other users and the entries in @INC.
Today, I configured as recommended in the INSTALL help and without a prefix:
tar -xzf perl-5.20.2.tar.gz cd perl-5.20.2 sh Configure -de make make test make install
Now everything works fine for all users and the entries in @INC are ok!
With many thanks and kind regards
mvi
|
|---|