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

Re: Update XML::LibXML - can't find "xlocale.h"

by syphilis (Archbishop)
on Jan 01, 2021 at 08:55 UTC ( [id://11126071]=note: print w/replies, xml ) Need Help??


in reply to Update XML::LibXML - can't find "xlocale.h"

In file included from Av_CharPtrPtr.c:7: /home/ken/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/cygwin-thread-mu +lti/CORE/perl.h:861:13: fatal error: xlocale.h: No such file or direc +tory


Looks like a perlbrew or perl bug to me.
It's actually /home/ken/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/cygwin-thread-multi/CORE/perl.h that's trying to include the non-existent xlocale.h.
This should mean that you are unable to build any perl extension at all on this build of perl - because every time you try to build such a module, perl.h is going to include a file (xlocale.h) that it can't find.

You might find that simply creating a file named xlocale.h (that does nothing useful, if anything at all) and placing it in a location where it can be found by default, will fix the problem.

Dunno ... seems pretty weird ... maybe I'm not diagnosing it correctly ...

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Update XML::LibXML - can't find "xlocale.h"
by parv (Parson) on Jan 01, 2021 at 09:09 UTC

    Ah, I obviously did not read the error message close enough. Thanks for pointing out that problem was not in LibXML::XML.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2024-04-24 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found