Why is the Curses module broken? I can't get it to compile under RedHat 8.0 for love or money - CPAN fails at compile time and a source install fails thusly:
gcc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -fno-strict- +aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gd +bm -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.06\" -DXS_VERSION=\"1.0 +6\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Cur +ses.c In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/COR +E/perl.h:1713, from Curses.c:14: /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/handy.h:83:1: warnin +g: "bool" redefined In file included from c-config.h:9, from Curses.c:11: /usr/include/ncurses/curses.h:117:1: warning: this is the location of +the previous definition Curses.c: In function `c_sv2window': Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatibl +e pointer type Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatibl +e pointer type Curses.c:275: too few arguments to function `Perl_sv_isa' In file included from Curses.c:344: CursesFun.c: In function `XS_Curses_newterm': CursesFun.c:1279: warning: initialization from incompatible pointer ty +pe CursesFun.c:1280: warning: initialization from incompatible pointer ty +pe CursesFun.c: In function `XS_Curses_putwin': CursesFun.c:3453: warning: initialization from incompatible pointer ty +pe CursesFun.c: In function `XS_Curses_getwin': CursesFun.c:3472: warning: initialization from incompatible pointer ty +pe make: *** [Curses.o] Error 1

Is anyone maintaining this module? Has it been supeceded by something? I tried a patch I found on the support forum here, but it didn't work either. Help, please?

In reply to Cursed by Curses 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.