Hey, monks. I hope this isn't off-topic, but has anyone successfully installed wxPerl? It looks like a really nice program, but so far I can only get it installed on Win32. When I try to make the module on Linux, it chokes on the STC.c file in about a million places. I downloaded and "make install"ed wxWindows before doing this, but I still get the errors. I even tried going back to 0.12 to see if an older version would compile - no gravy.

I'd appreciate it if anyone could tell me what I'm doing wrong. I've attached an excerpt of the errors at the bottoms of this post. I suspect it has something to do with the fact that STC.c is including a .cpp file, but I'm not sure.

TIA, Bill

`void XS_Wx__StyledTextCtrl_IndicatorGetStyle(CV*)': STC.c:638: invalid use of undefined type `struct wxStyledTextCtrl' cpp/st_typedef.h:20: forward declaration of `struct wxStyledTextCtrl' STC.c: In function `void XS_Wx__StyledTextCtrl_IndicatorSetForeground( +CV*)': STC.c:654: invalid use of undefined type `struct wxStyledTextCtrl' cpp/st_typedef.h:20: forward declaration of `struct wxStyledTextCtrl' STC.c: In function `void XS_Wx__StyledTextCtrl_SetWhitespaceForeground +(CV*)': STC.c:672: invalid use of undefined type `struct wxStyledTextCtrl' cpp/st_typedef.h:20: forward declaration of `struct wxStyledTextCtrl' STC.c: In function `void XS_Wx__StyledTextCtrl_SetWhitespaceBackground +(CV*)': STC.c:687: invalid use of undefined type `struct wxStyledTextCtrl' cpp/st_typedef.h:20: forward declaration of `struct wxStyledTextCtrl' make[2]: *** Deleting file `STC.o' make[2]: *** [STC.o] Interrupt make[1]: *** [subdirs] In

In reply to Installing wxPerl by batkins

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.