Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Alien::Libxml2 - build error on RedHat

by swl (Vicar)
on Aug 12, 2021 at 22:16 UTC ( #11135808=note: print w/replies, xml ) Need Help??


in reply to Re^2: Alien::Libxml2 - build error on RedHat
in thread Alien::Libxml2 - build error on RedHat

Installing a separate perl using something like perlbrew is the simplest way to go, as suggested by kcott in 11135780. That assumes you can get past the lack of internet access, although I assume others have encountered and and solved that issue previously so there will be previous experiences you can draw on.

Another option is to use local::lib to keep your module installs out of the way of the system package tree.

Another consideration is how you installed the local modules from metacpan. If you have no direct internet access on that box (as noted in 11135802) then I assume you downloaded the tarballs manually and transferred them across? Did you run the module tests? Did they fail and you then force installed? Did you skip the tests? I would expect the module tests would throw issues in cases like this.

And don't forget to check the value of @INC. It could be that your modules installed correctly, but if .../perl/site/lib is listed after .../perl/lib then issues like this can occur.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2022-05-28 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (99 votes). Check out past polls.

    Notices?