Okay, so here's the deal

I'm trying to install curses, for terminal control, and the module won't install. Here's the command:
perl -MCPAN -e "install Curses"

The error is:
gcc -c -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HA +VE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARG +EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i3 +86 -mcpu=i686 -g -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I +/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Curses.c In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/COR +E/perl.h:1768, 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:137: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 /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


Any help would be appreciated
==
Kwyjibo. A big, dumb, balding North American ape. With no chin.

In reply to Curses, foiled again? by abitkin

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.