cpan[2]> install Term::ReadLine::Gnu
Running install for module 'Term::ReadLine::Gnu'
Fetching with LWP:
http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-R...
Fetching with LWP:
http://www.cpan.org/authors/id/H/HA/HAYASHI/CHECKS...
Checksum for /root/.cpan/sources/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz ok
Configuring H/HA/HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz with Makefile.PL
Warning (mostly harmless): No library found for -ltermcap
rlver.c:3:10: fatal error: readline/readline.h: Datei oder Verzeichnis nicht gefunden
3 | #include <readline/readline.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Could not compile rlver.c.
system(): No such file or directory
If you have installed the GNU Readline Library (libreadline.{a,so} and
readline/readline.h, etc.) on directories for which your perl is not
configured to search (refer the value of `ccflags' and `libpath' in
the output of `perl -V'), specify the paths as follows;
perl Makefile.PL --includedir=/yourdir/include --libdir=/yourdir/lib
or
perl Makefile.PL --prefix=/yourdir
Note that the GNU Readline Library version 2.0 and earlier causes error
here. Update it to version 2.1 and/or later.
Read INSTALL for more details.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Failed during this command:
HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256