I tried to install Data::GUID on my strawberry perl but the build fails while installing Data::UUID

this is my perl version:

This is perl 5, version 26, subversion 0 (v5.26.0) built for MSWin32-x +86-multi-thread-64int Copyright 1987-2017, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

and this is the cpan install Data::UUID output

Loading internal null logger. Install Log::Log4perl for logging messag +es CPAN: CPAN::SQLite loaded ok (v0.211) Database was generated on Wed, 12 Jul 2017 06:04:40 GMT Running install for module 'Data::UUID' CPAN: Digest::SHA loaded ok (v5.96) CPAN: Compress::Zlib loaded ok (v2.074) Checksum for C:\strawberry-perl\cpan\sources\authors\id\R\RJ\RJBS\Data +-UUID-1.221.tar.gz ok CPAN: Archive::Tar loaded ok (v2.26) CPAN: YAML::XS loaded ok (v0.65) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20170530) Configuring R/RJ/RJBS/Data-UUID-1.221.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Configured options (run perl Makefile.PL --help for how to change this +): UUID state storage: C:\Users\sre\AppData\Local\Temp Generating a gmake-style Makefile Writing Makefile for Data::UUID Writing MYMETA.yml and MYMETA.json RJBS/Data-UUID-1.221.tar.gz C:\strawberry-perl\perl\bin\perl.exe Makefile.PL -- OK Running make for R/RJ/RJBS/Data-UUID-1.221.tar.gz cp UUID.pm blib\lib\Data\UUID.pm Running Mkbootstrap for UUID () "C:\strawberry-perl\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- + 644 "UUID.bs" "C:\strawberry-perl\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_n +onempty -- UUID.bs blib\arch\auto\Data\UUID\UUID.bs 644 "C:\strawberry-perl\perl\bin\perl.exe" "C:\strawberry-perl\perl\lib\Ex +tUtils/xsubpp" -typemap C:\strawberry-perl\perl\lib\ExtUtils\typemap + -typemap C:\strawberry-perl\cpan\build\Data-UUID-1.221-3\typemap UU +ID.xs > UUID.xsc "C:\strawberry-perl\perl\bin\perl.exe" -MExtUtils::Command -e mv -- UU +ID.xsc UUID.c gcc -c -s -O2 -DWIN32 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIP +TS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv - +fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.221\" -DXS_ +VERSION=\"1.221\" "-IC:\strawberry-perl\perl\lib\CORE" -D_STDIR=\"C +:\\Users\\sre\\AppData\\Local\\Temp\" -D__MSWin32__ -D_DEFAULT_UMASK= +0007 UUID.c UUID.xs: In function 'inc': UUID.xs:36:39: warning: cast to pointer from integer of different size + [-Wint-to-pointer-cast] ptable_store(instances, ent->key, (void *)++count); ^ UUID.xs:28:63: note: in definition of macro 'ptable_store' # define ptable_store(T, K, V) ptable_store(aTHX_ (T), (K), (V)) ^ UUID.xs: In function 'XS_Data__UUID_new': UUID.xs:359:45: error: incomplete universal character name \U if ((fd = fopen(UUID_STATE_NV_STORE, "rb"))) { ^ UUID.xs:359:45: warning: unknown escape sequence: '\s' UUID.xs:359:45: warning: unknown escape sequence: '\A' UUID.xs:359:45: warning: unknown escape sequence: '\L' UUID.xs:359:45: warning: unknown escape sequence: '\T' UUID.xs:365:46: error: incomplete universal character name \U if ((fd = fopen(UUID_NODEID_NV_STORE, "rb"))) { ^ UUID.xs:365:46: warning: unknown escape sequence: '\s' UUID.xs:365:46: warning: unknown escape sequence: '\A' UUID.xs:365:46: warning: unknown escape sequence: '\L' UUID.xs:365:46: warning: unknown escape sequence: '\T' UUID.xs:376:49: error: incomplete universal character name \U if ((fd = fopen(UUID_NODEID_NV_STORE, "wb"))) { ^ UUID.xs:376:49: warning: unknown escape sequence: '\s' UUID.xs:376:49: warning: unknown escape sequence: '\A' UUID.xs:376:49: warning: unknown escape sequence: '\L' UUID.xs:376:49: warning: unknown escape sequence: '\T' UUID.xs: In function 'XS_Data__UUID_create': UUID.xs:420:47: error: incomplete universal character name \U if((fd = fopen(UUID_STATE_NV_STORE, "wb"))) { ^ UUID.xs:420:47: warning: unknown escape sequence: '\s' UUID.xs:420:47: warning: unknown escape sequence: '\A' UUID.xs:420:47: warning: unknown escape sequence: '\L' UUID.xs:420:47: warning: unknown escape sequence: '\T' UUID.xs: In function 'XS_Data__UUID_DESTROY': UUID.xs:583:34: warning: cast to pointer from integer of different siz +e [-Wint-to-pointer-cast] ptable_store(instances, self, (void *)count); ^ UUID.xs:28:63: note: in definition of macro 'ptable_store' # define ptable_store(T, K, V) ptable_store(aTHX_ (T), (K), (V)) ^ UUID.xs:587:48: error: incomplete universal character name \U if ((fd = fopen(UUID_STATE_NV_STORE, "wb"))) { ^ UUID.xs:587:48: warning: unknown escape sequence: '\s' UUID.xs:587:48: warning: unknown escape sequence: '\A' UUID.xs:587:48: warning: unknown escape sequence: '\L' UUID.xs:587:48: warning: unknown escape sequence: '\T' gmake: *** [Makefile:343: UUID.o] Error 1 RJBS/Data-UUID-1.221.tar.gz C:\strawberry-perl\c\bin\gmake.exe -- NOT OK Stopping: 'install' failed for 'Data::UUID'.

In reply to strawberry perl Data::UUID build errors by vlad_tepesch

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.