[Linux] Can't locate DBI.pm in @INC

02/02/2015 21:55 Tec2One#1
Hiho, ich versuch mich gerade an nem Rank Plugin was n Deamon erfordert.
Leider bekommt er beim starten keine Verbindung:
Quote:
Can't locate DBI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./hlstats.pl line 66.
BEGIN failed--compilation aborted at ./hlstats.pl line 66.
Da dacht ich mir, installierst du das einfach über cpan:

Quote:
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.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=\"1.633\" -DXS_VERSION=\"1.633\" -fPIC "-I/usr/lib/perl/5.14/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: 1: cc: not found
make: *** [Perl.o] Error 127
TIMB/DBI-1.633.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
TIMB/DBI-1.633.tar.gz : make NO
Leider hats nicht wirklich geklappt...

Help?


Liebe Grüße
02/03/2015 11:48 Gordge#2
"cc" nicht installiert?!