I made some progress based on the thread http://www.perlmonks.org/?node_id=786418 but after that I am still getting following error msg. Googling it does not provide any good reason for its cause:
gcc-4 -c -I/cygdrive/c/ravi/js/src -DPERL_USE_SAFE_PUTENV -U__STRICT_ +ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DU +SEIMPORTLI B -O3 -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" "-I/usr/lib/perl5/5. +10/i686-cy gwin/CORE" PJS_Call.c In file included from /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:3427 +, from PJS_Call.c:1: /usr/lib/perl5/5.10/i686-cygwin/CORE/utf8.h:46: error: expected `=', ` +,', `;', ` asm' or `__attribute__' before `unsigned' In file included from PJS_Call.c:1: /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4205: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char' /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4207: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char' /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4209: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char' /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4211: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char' /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4213: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char' /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:4215: error: expected `=', + `,', `;', `asm' or `__attribute__' before `char'

In reply to Re^2: installing JavaScript.pm using Cygwin by Anonymous Monk
in thread installing JavaScript.pm using Cygwin by Anonymous Monk

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.