Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But it is giving this error:sudo perl -MCPAN -e 'install Term::ReadLine::Gnu'
I am running Ubuntun 8.04 and I have already installed the readline package. See below.Found `/usr/lib/libtermcap.a'. cc -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-stric +t-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF +SET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -L/usr/local/lib -lre +adline -ltermcap rlver.c:3:31: error: readline/readline.h: No such file or directory rlver.c: In function ‘main’: rlver.c:4: error: ‘rl_library_version’ undeclared (first use in this f +unction) rlver.c:4: error: (Each undeclared identifier is reported only once rlver.c:4: error: for each function it appears in.) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! Could not compile rlver.c.
Can anyone help me?sudo dpkg -l | grep -i readline ii libreadline5 5.2-3build1 + GNU readline and history libraries, run-time ii libterm-readline-perl-perl 1.0302-1 + Perl implementation of Readline libraries ii readline-common 5.2-3build1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing Term::ReadLine::Gnu
by choroba (Cardinal) on Jun 18, 2010 at 20:32 UTC | |
by rowdog (Curate) on Jun 18, 2010 at 21:57 UTC | |
|
Re: Installing Term::ReadLine::Gnu
by Utilitarian (Vicar) on Jun 20, 2010 at 08:50 UTC | |
|
Re: Installing Term::ReadLine::Gnu
by manoj7shekhawat (Initiate) on Aug 19, 2015 at 18:25 UTC |