Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Update XML::LibXML - can't find "xlocale.h" [solution]by kcott (Archbishop) |
on Jan 02, 2021 at 07:57 UTC ( [id://11126120]=note: print w/replies, xml ) | Need Help?? |
As mentioned in the workaround post, "I suspect an actual solution would be to rebuild Perl and reinstall all modules ...". Doing that with 5.32.0 would have been very disruptive to other tasks I'm currently working on; so I decided to install the latest development version, 5.33.5 (https://metacpan.org/pod/release/CORION/perl-5.33.5/pod/perl.pod) — it's got "CORION" plastered all over it, so it has to be good; right? :-) Installation worked. I checked for I_XLOCALE in config.h; it was commented out:
I've now installed lots of modules — many with XS components, including XML::LibXML — and there's been no recurrence of the earlier problem. It would seem this is a solid solution; although, the workaround is still working, and possibly a much faster solution for anyone encountering the same problem with xlocale.h. — Ken
In Section
Seekers of Perl Wisdom
|
|