[Dxspider-support] Setup on Ubuntu 10.04 64bit (long)
Ian Maude
ian at gb7mbc.net
Mon Apr 11 19:19:08 BST 2011
Hi all,
I am in the process of setting up on a virtual server and I have hit a snag installing Curses. Using the command..
cpan Curses
grabs Curses 1.28 but it barfs on Make.
It seems to start well enough..
CPAN.pm: Going to build G/GI/GIRAFFED/Curses-1.28.tgz
GEN function: not applicable
PANELS functions: not enabled
MENUS functions: not enabled
FORMS functions: not enabled
Making a guess for -I and -L/-l options...
Guesses:
includes: '-I/usr/include/ncurses'
libs: '-lncurses'
Curses type: ncurses
Making a guess for "c-config.h"...
Choosing hints file 'hints/c-linux.ncurses.h'
Checking if your kit is complete...
Looks good
Writing Makefile for Curses
cp Curses.pm blib/lib/Curses.pm
/usr/bin/perl test.syms
Checking capabilities of the Ncurses libraries.
Set CURSES_VERBOSE environment variable to see the details of the tests.
It does not seem to fins any functions and ends up with..
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
In file included from Curses.c:11:
c-config.h:7:21: error: ncurses.h: No such file or directory
Curses.c: In function 'c_domove':
Curses.c:120: error: expected declaration specifiers before 'WINDOW'
Curses.c: In function 'c_chtype2sv':
Curses.c:171: error: 'ERR' undeclared (first use in this function)
Curses.c:171: error: (Each undeclared identifier is reported only once
Curses.c:171: error: for each function it appears in.)
Curses.c: At top level:
Curses.c:316: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Curses.c:320: error: expected identifier or '(' before '{' token
Curses.c: In function 'c_window2sv':
Curses.c:335: error: expected declaration specifiers before 'WINDOW'
Curses.c:337: warning: cast to pointer from integer of different size
In file included from Curses.c:390:
CursesFun.c: In function 'XS_Curses_longname':
CursesFun.c:3139: warning: initialization makes pointer from integer without a cast
CursesFun.c: In function 'XS_Curses_touchline':
CursesFun.c:3240: error: 'WINDOW' undeclared (first use in this function)
CursesFun.c:3240: error: 'win' undeclared (first use in this function)
CursesFun.c:3240: error: 'stdscr' undeclared (first use in this function)
CursesFun.c:3241: error: 'OK' undeclared (first use in this function)
CursesFun.c:3244: error: 'ERR' undeclared (first use in this function)
make: *** [Curses.o] Error 1
GIRAFFED/Curses-1.28.tgz
/usr/bin/make -- NOT OK
Any ideas would be welcomed. I am documenting it and will make notes on the wiki once I get it up and running again :)
So far, I have only needed Net::Telnet and Curses
73 Ian
--
Ian J Maude, G0VGS
SysOp GB7MBC & HB9DRV-9 DX Clusters
Member RSGB, GQRP 9838, FISTS 14077 | K3 #455
http://www.m0scg.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20110411/d6f10108/attachment-0001.html>
More information about the Dxspider-support
mailing list