[Dxspider-support] Setup on Ubuntu 10.04 64bit (long)

Dirk Koopman G1TLH gb7tlh at dxcluster.org
Mon Apr 11 20:33:15 BST 2011


On 11/04/11 19:19, Ian Maude wrote:
> 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

The easy way is: sudo apt-get install libcurses-perl libnet-telnet-perl

I think that's all you need.

The reason why the CPAN compile failed is because the header files and 
libraries are not included as standard. You need to install them thusly:

sudo apt-get install libncurses-dev

(and you have installed 'build-essential' as well haven't you?)

Dirk



More information about the Dxspider-support mailing list