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?