Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root

by kroach (Pilgrim)
on Mar 01, 2015 at 22:53 UTC ( [id://1118331]=note: print w/replies, xml ) Need Help??


in reply to LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root

How did you install Perl?
Also, consider perlbrew for installing and managing different versions of Perl.
  • Comment on Re: LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root

Replies are listed 'Best First'.
Re^2: LINUX PERL 5.20.2 libraries and modules: "Permission denied" for all users except root
by Anonymous Monk on Mar 02, 2015 at 19:32 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1118331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-26 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found