Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by misterperl (Pilgrim)
on May 20, 2022 at 14:59 UTC ( [id://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 INET.pm -r--r--r-- 1 root root 3971 Nov 2 2021 UNIX.pm [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 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/Benchmark.pm +/home/ken/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/cygwi +n-thread-multi/DBI.pm -r--r--r-- 1 ken None 31026 May 22 2021 /home/ken/perl5/perlbrew/per +ls/perl-5.34.0/lib/5.34.0/Benchmark.pm -r--r--r-- 1 ken None 4783 May 22 2021 /home/ken/perl5/perlbrew/per +ls/perl-5.34.0/lib/5.34.0/strict.pm -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/DBI.pm

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

    — Ken

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.


    🦛

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-18 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found