Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Cant get a clean 5.34 Perl built...

by Corion (Patriarch)
on May 13, 2022 at 14:05 UTC ( [id://11143879]=note: print w/replies, xml ) Need Help??


in reply to Cant get a clean 5.34 Perl built...

My guess is that you have PERL5LIB set to some value in your environment and that is getting picked up.

If that's not it, please show us the exact steps you are running, and the exact output you get from perl -V, and also the OS you are using.

Nowadays, at least if you build Perl with a "relocatable" include directory, the build directory doesn't matter, you can move the Perl binary and its other directories around. To do that, use Duserelocatableinc when running Configure.

You can check if a Perl is built with a relocatable include directory by running

perl -V:userelocatableinc

Replies are listed 'Best First'.
Re^2: Cant get a clean 5.34 Perl built...
by misterperl (Pilgrim) on May 13, 2022 at 14:10 UTC
    I'm on rocky linux , I will check PERL5LIB (and perhaps PERLLIB?) to see how its defined.

    Your wisdom is most appreciated sir definitely a ++ vote! I'm on it!

      Yes - ideally, while building Perl, you have no variables with the name PERL in them set.

      Once you've built (and installed) Perl, you can set those variables again, but they will change what is contained in @INC.

      You are not installing over the Perl binary supplied by your vendor, are you?!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found