CPAN Fehler / C Compiler findet libs nicht :(

Bash, Shell, PHP, Python, Perl, CGI
ganjasmokerjoe
Posts: 39
Joined: 2002-12-11 13:28
Location: Zürich

CPAN Fehler / C Compiler findet libs nicht :(

Post by ganjasmokerjoe »

Hallo,

Ich habe grade mein test server von slackware auf debian umgestellt.
Leider laufen meine CGI Scripts nicht mehr, also versuchte ich die benötigten Module zu Installieren was auch wie immer klappte.
Als ich zum MD5 kam, war allerdings schluss, ich weiss nicht was falsch ist, ich denke dem compiler fehlen gewisse include files... auch base 64 konnte ich nicht installieren, bringt die selben Fehler wie digist::md5.

Da ich leider absolut nicht weiss was jetzt falsch ist poste ich mal den ganzen output von cpan ins forum, sorry für die länge ;)

Kennt jemand diesen Fehler?
Bis jetzt konnte ich cpan fehler immer durch die fehler ausgabe lösen aber diesemal weiss ich nicht was ich wo installieren muss, shit :(

THX

Code: Select all



woodymaster:/opt2# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.59_54)
ReadLine support available (try 'install Bundle::CPAN')

cpan>
cpan> install Digest::MD5
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.23.tar.gz
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.23.tar.gz
LWP failed with code[500] message[Can't locate MIME/Base64.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl)]
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.23.tar.gz

  CPAN: MD5 security checks disabled because MD5 not installed.
  Please consider installing the MD5 module.

Scanning cache /root/.cpan/build for sizes
Digest-MD5-2.23/
Digest-MD5-2.23/t/
Digest-MD5-2.23/t/files.t
Digest-MD5-2.23/t/md5-aaa.t
Digest-MD5-2.23/t/align.t
Digest-MD5-2.23/t/clone.t
Digest-MD5-2.23/t/utf8.t
Digest-MD5-2.23/t/badfile.t
Digest-MD5-2.23/hints/
Digest-MD5-2.23/hints/irix_6.pl
Digest-MD5-2.23/hints/MacOS.pl
Digest-MD5-2.23/hints/dec_osf.pl
Digest-MD5-2.23/Changes
Digest-MD5-2.23/MANIFEST
Digest-MD5-2.23/rfc1321.txt
Digest-MD5-2.23/typemap
Digest-MD5-2.23/README
Digest-MD5-2.23/MD5.pm
Digest-MD5-2.23/MD5.xs
Digest-MD5-2.23/Makefile.PL

  CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.23.tar.gz

Testing alignment requirements for U32... u32align.c:8: stdio.h: No such file or directory
In file included from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perl.h:426: sys/types.h: No such file or directory
In file included from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perl.h:457: ctype.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:465: locale.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:482: setjmp.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:488: sys/param.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:493: stdlib.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:498: unistd.h: No such file or directory
In file included from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perl.h:519: string.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:649: netinet/in.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:653: arpa/inet.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:663: sys/stat.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:685: time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:692: sys/time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:699: sys/times.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:706: errno.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:713: sys/socket.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:740: netdb.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:807: sys/ioctl.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:830: dirent.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
                 from /usr/lib/perl/5.6.1/CORE/perl.h:1127,
                 from u32align.c:10:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1527,
                 from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/handy.h:118: inttypes.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1665,
                 from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/unixish.h:93: signal.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/iperlsys.h:300,
                 from /usr/lib/perl/5.6.1/CORE/perl.h:1947,
                 from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perlsdio.h:5: stdio.h: No such file or directory
In file included from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perl.h:2215: math.h: No such file or directory
In file included from u32align.c:10:
/usr/lib/perl/5.6.1/CORE/perl.h:3340: sys/ipc.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3341: sys/sem.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3376: sys/file.h: No such file or directory
Can't compile test program
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp  -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap MD5.xs > MD5.xsc && mv MD5.xsc MD5.c
cc -c  -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION="2.23" -DXS_VERSION="2.23" -fPIC -I/usr/lib/perl/5.6.1/CORE -DU32_ALIGNMENT_REQUIRED MD5.c
In file included from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perl.h:426: sys/types.h: No such file or directory
In file included from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perl.h:457: ctype.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:465: locale.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:482: setjmp.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:488: sys/param.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:493: stdlib.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:498: unistd.h: No such file or directory
In file included from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perl.h:519: string.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:649: netinet/in.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:653: arpa/inet.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:663: sys/stat.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:685: time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:692: sys/time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:699: sys/times.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:706: errno.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:713: sys/socket.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:740: netdb.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:807: sys/ioctl.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:830: dirent.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
                 from /usr/lib/perl/5.6.1/CORE/perl.h:1127,
                 from MD5.xs:41:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1527,
                 from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/handy.h:118: inttypes.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1665,
                 from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/unixish.h:93: signal.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/iperlsys.h:300,
                 from /usr/lib/perl/5.6.1/CORE/perl.h:1947,
                 from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perlsdio.h:5: stdio.h: No such file or directory
In file included from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perl.h:2215: math.h: No such file or directory
In file included from MD5.xs:41:
/usr/lib/perl/5.6.1/CORE/perl.h:3340: sys/ipc.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3341: sys/sem.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3376: sys/file.h: No such file or directory
make: *** [MD5.o] Error 1
  /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

cpan>
cpan> Caught SIGINT
Lockfile removed.
Got another SIGINT
woodymaster:/opt2#

captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten

Re: CPAN Fehler / C Compiler findet libs nicht :(

Post by captaincrunch »

Sieht aus, als wären die Perl-Headers nicht vorhanden.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
ganjasmokerjoe
Posts: 39
Joined: 2002-12-11 13:28
Location: Zürich

Re: CPAN Fehler / C Compiler findet libs nicht :(

Post by ganjasmokerjoe »

wie kann das passieren?
ist ne 0815woddy installation mit selbstgebautem xfs kernel (ich verwende diesen kernel auf 12 servern)... ich kann mir echt nicht erklähren was da falsch läuft....
ganjasmokerjoe
Posts: 39
Joined: 2002-12-11 13:28
Location: Zürich

Re: CPAN Fehler / C Compiler findet libs nicht :(

Post by ganjasmokerjoe »

so nun läufts, es waren nicht die perl header sondern ich hatte die libc6-dev nicht installiert.... kleiner blöder fehler.... lieber spät als gar nie 8)