Thread Installation von Term::ReadKey klappt nicht (2 answers)
Opened by der_thomas at 2014-08-12 20:34

der_thomas
 2014-08-12 20:34
#176821 #176821
User since
2013-09-07
158 Artikel
BenutzerIn
[default_avatar]
Hallo,

ich habe hier mein Betriebssystem neu installiert und muss nun die noch fehlenden Perl Module nachinstallieren. Das klappte mit tk und Crypt::RC4 module auch ohne Probleme.

Allerdeings benötige ich auch Term::ReadKey um Passworteingaben in der Konsole zu verbergen - das hat auch schon mal funktioniert, allerdings weiß ich nicht wie ich das installiert bekam.

Jetzt habe ich es so wie unten zu sehen versucht und bekomme da eine Fehlermeldung mit der ich nicht klarkomme:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
cpan[1]> install Term::ReadKey
Reading '/home/thomas/.cpan/Metadata'
Database was generated on Tue, 12 Aug 2014 16:29:02 GMT
Running install for module 'Term::ReadKey'
Running make for J/JS/JSTOWE/TermReadKey-2.32.tar.gz
Checksum for /home/thomas/.cpan/sources/authors/id/J/JS/JSTOWE/TermReadKey-2.32.tar.gz ok
Scanning cache /home/thomas/.cpan/build for sizes
............................................................................DONE

CPAN.pm: Building J/JS/JSTOWE/TermReadKey-2.32.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadKey
Writing MYMETA.yml and MYMETA.json
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/usr/bin/perl -Mblib -I/usr/share/perl/5.18 genchars.pl

Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/usr/bin/perl /usr/share/perl/5.18/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl/5.18/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.32\" -DXS_VERSION=\"2.32\" -fPIC "-I/usr/lib/perl/5.18/CORE" ReadKey.c
In file included from ReadKey.xs:4:0:
/usr/lib/perl/5.18/CORE/perl.h:650:24: fatal error: sys/types.h: Datei oder Verzeichnis nicht gefunden
# include <sys/types.h>
^
compilation terminated.
make: *** [ReadKey.o] Fehler 1
JSTOWE/TermReadKey-2.32.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
JSTOWE/TermReadKey-2.32.tar.gz : make NO


Da das Betriebssystem noch ganz frisch ist will ich da nicht ohne Plan rumbasteln ;)
Was kann/muß ich da machen ?

Das Betriebssystem ist Mint Cinnamon 17 64 bit und die Perl Version ist 5.18.2

thomas

View full thread Installation von Term::ReadKey klappt nicht