Hi,

I want to install Languag::Prolog::Yaswi on my Windows machine under cygwin. Everything works fine, but when compiling opaque.c I get the following error:
gcc -c -I. -I/usr/lib/pl-5.2.6/include -DPERL_USE_SAFE_PUTENV -fno-st +rict-alias ing -pipe -I/usr/local/include -DUSEIMPORTLIB -g -O0 -DVERSION=\"0.0 +7\" -DXS_V ERSION=\"0.07\" "-I/usr/lib/perl5/5.8/cygwin/CORE" opaque.c opaque.c:13: error: parse error before "perl_opaque" opaque.c:13: warning: data definition has no type or storage class opaque.c: In function `perl_opaque_acquire': opaque.c:19: error: `PL_blob_t' undeclared (first use in this function +) opaque.c:19: error: (Each undeclared identifier is reported only once opaque.c:19: error: for each function it appears in.) opaque.c:19: error: `type' undeclared (first use in this function) opaque.c:20: warning: initialization makes pointer from integer withou +t a cast opaque.c: In function `perl_opaque_release': opaque.c:30: error: `PL_blob_t' undeclared (first use in this function +) opaque.c:30: error: `type' undeclared (first use in this function) opaque.c:31: warning: initialization makes pointer from integer withou +t a cast opaque.c: In function `perl_opaque_write': opaque.c:43: error: `PL_blob_t' undeclared (first use in this function +) opaque.c:43: error: `type' undeclared (first use in this function) opaque.c:44: warning: initialization makes pointer from integer withou +t a cast opaque.c: At top level: opaque.c:51: error: parse error before "perl_opaque" opaque.c:52: error: `PL_BLOB_MAGIC' undeclared here (not in a function +) opaque.c:52: error: initializer element is not constant opaque.c:52: error: (near initialization for `perl_opaque') opaque.c:53: error: `PL_BLOB_UNIQUE' undeclared here (not in a functio +n) opaque.c:53: error: `PL_BLOB_NOCOPY' undeclared here (not in a functio +n) opaque.c:53: warning: excess elements in scalar initializer opaque.c:53: warning: (near initialization for `perl_opaque') opaque.c:54: warning: excess elements in scalar initializer opaque.c:54: warning: (near initialization for `perl_opaque') opaque.c:55: warning: excess elements in scalar initializer opaque.c:55: warning: (near initialization for `perl_opaque') opaque.c:56: warning: excess elements in scalar initializer opaque.c:56: warning: (near initialization for `perl_opaque') opaque.c:57: warning: excess elements in scalar initializer opaque.c:57: warning: (near initialization for `perl_opaque') opaque.c:58: warning: excess elements in scalar initializer opaque.c:58: warning: (near initialization for `perl_opaque') opaque.c:59: warning: data definition has no type or storage class opaque.c: In function `pl_get_perl_opaque': opaque.c:106: error: `PL_blob_t' undeclared (first use in this functio +n) opaque.c:106: error: `type' undeclared (first use in this function) make[1]: *** [opaque.o] Error 1 make[1]: Leaving directory `/home/Renee/.cpan/build/Language-Prolog-Ya +swi-0.08/L ow' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible


Has anyone experience in installing the module under cygwin?

Cheers,
Renee

In reply to Problems installing Language::Prolog::Yaswi by reneeb

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.