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.