I don't have a solution or workaround.

As you are compiling C or C++ components, I would avoid any xlocale.h path which is not available on (Cygwin or MinGW) system-wide basis; that includes all the Perl & Wx specific ones.

Per Cygwin Package search, the file is in "cygwin-devel-3.0.7-1" (your older version) and 3 "libc++-devel" Clang packages (but GCC is being used per your output). Seems like either LibXML::XML has be to be updated for this (possibly things have moved to "locale.h"; in which case replace all "xlocale" with "locale") or downgrade to 3.0.7 Cygwin. :-(

Try explicitly passing /usr/include and /usr/include/c++/v1/support/xlocale include paths to the compiler (may be possible via an environment variable or some option to make). As a test, try to manually compile Av_CharPtrPtr.c first ...

> cd <wherever LibXML::XML was being compiled> # Below "\" on 3 continuous lines is used as line continuation charac +ter. # Escape|Quote as desired. # > gcc -c -I/usr/include/libxml2 -DPERL_USE_SAFE_PUTENV -U__STRICT_AN +SI__ -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protect +or-strong -D_FORTIFY_SOURCE=2 -DUSEIMPORTLIB -O3 -DVERSION=\"2.0206 +\" -DXS_VERSION=\"2.0206\" \ -I/usr/include \ -I/usr/include/c++/v1/support/xlocale \ "-I/home/ken/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/cygwin-thread +-multi/CORE" -DHAVE_UTF8 Av_CharPtrPtr.c

In reply to Re: Update XML::LibXML - can't find "xlocale.h" by parv
in thread Update XML::LibXML - can't find "xlocale.h" by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.