Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^4: "Installed" Perl 5.34 , sort of

by misterperl (Pilgrim)
on May 20, 2022 at 14:59 UTC ( #11144029=note: print w/replies, xml ) Need Help??

in reply to Re^3: "Installed" Perl 5.34 , sort of
in thread "Installed" Perl 5.34 , sort of

TYVM sir your comparison is helpful. I'm investigating whats in /etc/profile.d I suspect there are some paths in there messing things up.

As far as the //, likely there is an ENV path somewhere ending in /, and the make somewhere , blindly added /more_dirs, I suspect.

I rebuilt everything today as root (for make install) with no errors, I got the OK at each step. Then I use CPAN to add some modules, but oddly, now I'm having to go in and chmod a bunch of the pm's because the privs are wrong- like dozens, maybe hundreds:
[root@newnode Socket]# ls -l total 20 -r--r--r-- 1 root root 12778 Nov 2 2021 -r--r--r-- 1 root root 3971 Nov 2 2021 [root@newnode Socket]# chmod 755 *pm
I've been building perl since like 1995 and NEVER had these issues. I just performed the cpan instructions of configure, make, make test and make install, nothing special, on a Rocky Linux box. I guess maybe the Rocky part is somehow messing things up?

Replies are listed 'Best First'.
Re^5: "Installed" Perl 5.34 , sort of
by hippo (Bishop) on May 20, 2022 at 15:16 UTC

    Why do you think 0444 are wrong permissions for installed modules? It seems fine to me.


Re^5: "Installed" Perl 5.34 , sort of
by kcott (Archbishop) on May 21, 2022 at 05:16 UTC

    Those are the correct permissions. Here's some random modules' permissions from my installation (strict [core]; Benchmark [core]; DBI [CPAN]):

    $ ls -l /home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/strict.p +m /home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/ +/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/cygwi +n-thread-multi/ -r--r--r-- 1 ken None 31026 May 22 2021 /home/ken/perl5/perlbrew/per +ls/perl-5.34.0/lib/5.34.0/ -r--r--r-- 1 ken None 4783 May 22 2021 /home/ken/perl5/perlbrew/per +ls/perl-5.34.0/lib/5.34.0/ -r--r--r-- 1 ken None 318199 Feb 1 2020 /home/ken/perl5/perlbrew/per +ls/perl-5.34.0/lib/site_perl/5.34.0/cygwin-thread-multi/

    I've never used Rocky Linux. I'm unable to comment on that.

    — Ken

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-10-03 22:20 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (15 votes). Check out past polls.