<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div>I am in the process of setting up on a virtual server and I have hit a snag installing Curses.  Using the command..</div><div><br></div><div>cpan Curses</div><div><br></div><div>grabs Curses 1.28 but it barfs on Make.</div><div><br></div><div>It seems to start well enough..</div><div><br></div><div><div>  CPAN.pm: Going to build G/GI/GIRAFFED/Curses-1.28.tgz</div><div><br></div><div>GEN    function:  not applicable</div><div>PANELS functions: not enabled</div><div>MENUS  functions: not enabled</div><div>FORMS  functions: not enabled</div><div><br></div><div>Making a guess for -I and -L/-l options...</div><div>Guesses:</div><div>  includes:    '-I/usr/include/ncurses'</div><div>  libs:        '-lncurses'</div><div>  Curses type: ncurses</div><div>Making a guess for "c-config.h"...</div><div>Choosing hints file 'hints/c-linux.ncurses.h'</div><div>Checking if your kit is complete...</div><div>Looks good</div><div>Writing Makefile for Curses</div><div>cp Curses.pm blib/lib/Curses.pm</div><div>/usr/bin/perl test.syms </div><div>Checking capabilities of the Ncurses libraries.</div><div>Set CURSES_VERBOSE environment variable to see the details of the tests.</div><div><br></div><div>It does not seem to fins any functions and ends up with..</div><div><br></div><div><div>cc -c  -I/usr/include/ncurses -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.28\" -DXS_VERSION=\"1.28\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Curses.c</div><div>In file included from Curses.c:11:</div><div>c-config.h:7:21: error: ncurses.h: No such file or directory</div><div>Curses.c: In function 'c_domove':</div><div>Curses.c:120: error: expected declaration specifiers before 'WINDOW'</div><div>Curses.c: In function 'c_chtype2sv':</div><div>Curses.c:171: error: 'ERR' undeclared (first use in this function)</div><div>Curses.c:171: error: (Each undeclared identifier is reported only once</div><div>Curses.c:171: error: for each function it appears in.)</div><div>Curses.c: At top level:</div><div>Curses.c:316: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token</div><div>Curses.c:320: error: expected identifier or '(' before '{' token</div><div>Curses.c: In function 'c_window2sv':</div><div>Curses.c:335: error: expected declaration specifiers before 'WINDOW'</div><div>Curses.c:337: warning: cast to pointer from integer of different size</div><div>In file included from Curses.c:390:</div><div>CursesFun.c: In function 'XS_Curses_longname':</div><div>CursesFun.c:3139: warning: initialization makes pointer from integer without a cast</div><div>CursesFun.c: In function 'XS_Curses_touchline':</div><div>CursesFun.c:3240: error: 'WINDOW' undeclared (first use in this function)</div><div>CursesFun.c:3240: error: 'win' undeclared (first use in this function)</div><div>CursesFun.c:3240: error: 'stdscr' undeclared (first use in this function)</div><div>CursesFun.c:3241: error: 'OK' undeclared (first use in this function)</div><div>CursesFun.c:3244: error: 'ERR' undeclared (first use in this function)</div><div>make: *** [Curses.o] Error 1</div><div>  GIRAFFED/Curses-1.28.tgz</div><div>  /usr/bin/make -- NOT OK</div></div><div><br></div><div>Any ideas would be welcomed.  I am documenting it and will make notes on the wiki once I get it up and running again :)</div><div><br></div><div>So far, I have only needed Net::Telnet and Curses</div><div><br></div><div>73 Ian</div><div><br></div><div>
--<br>Ian J Maude, G0VGS<br>SysOp GB7MBC & HB9DRV-9 DX Clusters<br>Member RSGB, GQRP 9838, FISTS 14077 | K3 #455<br><a href="http://www.m0scg.org.uk" target="_blank">http://www.m0scg.org.uk</a>
</div>
<br></div></body></html>