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
QuoteOn linux mint 16: sudo apt-get install build-essential was enough