Thread Kann man den (Terminal) Prompt Text vorgeben? (9 answers)
Opened by Tom at 2021-09-22 15:03

Gast Tom
 2021-09-22 23:08
#193592 #193592
Hallo,

Vielen Dank, jetzt funktioniert es, Term::ReadLine::Perl war nicht installiert ;)

Die Installation von Term::Readline::Gnu klappte nicht:
Quote
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




.... es funktioniert aber auch so !!

Die Versionen sind:
Perl 5.30.0
Term::ReadLine 1.17
Term::ReadLine::Perl 1.0303

Vielen Dank nochmal und Beste Grüße
Tom
Last edited: 2021-09-23 07:57:11 +0200 (CEST)

View full thread Kann man den (Terminal) Prompt Text vorgeben?