I tried all the options but still I am getting errors:
/usr/local/bin/perl.exe -I/usr/local/lib/perl5/5.20.2/cygwin-thread-mu +lti-64int -I/usr/local/lib/perl5/5.20.2 /usr/local/lib/perl5/5.20.2/E +xtUtils/xsubpp -typemap /usr/local/lib/perl5/5.20.2/ExtUtils/typemap + OLE.xs >xstmp.c && mv xstmp.c OLE.cpp g++ -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fwrapv -fno-strict- +aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.1 +712\" -DXS_VERSION=\"0.1712\" "-I/usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE" OLE.cpp In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:2368:0, from OLE.xs:94: OLE.xs: In function ‘BOOL StartsWithAlpha(PerlInterpreter*, SV*)’: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142 +9:43: note: in definition of macro ‘_generic_swash_uni’ #define _generic_swash_uni(classnum, c) ((c) < 256 + \ ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:142 +9:43: note: in definition of macro ‘_generic_swash_uni’ #define _generic_swash_uni(classnum, c) ((c) < 256 + \ ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:2368:0, from OLE.xs:94: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:102 +4:45: note: in expansion of macro ‘FITS_IN_8_BITS’ # define _generic_isCC(c, classnum) cBOOL(FITS_IN_8_BITS(c) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:124 +:24: note: in definition of macro ‘cBOOL’ #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +0:48: note: in expansion of macro ‘_generic_isCC’ ? _generic_isCC(c, class +num) \ ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ In file included from /usr/local/lib/perl5/5.20.2/cygwin-thread-multi- +64int/CORE/perl.h:5100:0, from OLE.xs:94: /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:28: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30: +51: note: in definition of macro ‘_is_uni_FOO’ #define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:695 +:56: warning: ‘UV Perl_utf8_to_uvuni(PerlInterpreter*, const U8*, STR +LEN*)’ is deprecated (declared at /usr/local/lib/perl5/5.20.2/cygwin- +thread-multi-64int/CORE/proto.h:4826) [-Wdeprecated-declarations] #define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/embed.h:30: +51: note: in definition of macro ‘_is_uni_FOO’ #define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b) ^ /usr/local/lib/perl5/5.20.2/cygwin-thread-multi-64int/CORE/handy.h:143 +2:29: note: in expansion of macro ‘_generic_swash_uni’ #define isALPHA_uni(c) _generic_swash_uni(_CC_ALPHA, c) ^ OLE.xs:449:16: note: in expansion of macro ‘isALPHA_uni’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs:114:29: note: in expansion of macro ‘utf8_to_uvuni’ # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) ^ OLE.xs:449:28: note: in expansion of macro ‘my_utf8_to_uv’ return isALPHA_uni(my_utf8_to_uv((U8*)str)); ^ OLE.xs: In function ‘BOOL IsLocalMachine(PerlInterpreter*, SV*)’: OLE.xs:483:43: error: ‘stricmp’ was not declared in this scope && stricmp(pszName, szComputerName) == 0) ^ Makefile:373: recipe for target 'OLE.o' failed make: *** [OLE.o] Error 1 JDB/Win32-OLE-0.1712.tar.gz /usr/bin/make -- NOT OK

In reply to Re^2: How to make Win32::OLE work on Cygwin (cpan -i -T Win32::OLE) by gjoshi
in thread How to make Win32::OLE work on Cygwin by gjoshi

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.