in reply to Update XML::LibXML - can't find "xlocale.h"
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:
ken@titan ~/perl5/perlbrew/perls/perl-5.33.5/lib/5.33.5/cygwin-thread- +multi/CORE $ grep 'I_XLOCALE' config.h /* I_XLOCALE: /*#define I_XLOCALE / **/
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Update XML::LibXML - can't find "xlocale.h" [solution]
by syphilis (Archbishop) on Jan 02, 2021 at 11:22 UTC | |
by kcott (Archbishop) on Jan 02, 2021 at 18:22 UTC | |
by syphilis (Archbishop) on Jan 02, 2021 at 23:08 UTC | |
|
Re^2: Update XML::LibXML - can't find "xlocale.h" [solution]
by stevieb (Canon) on Jan 02, 2021 at 08:04 UTC | |
by Corion (Patriarch) on Jan 02, 2021 at 08:12 UTC | |
by kcott (Archbishop) on Jan 02, 2021 at 09:59 UTC | |
by stevieb (Canon) on Jan 02, 2021 at 08:50 UTC |