auf Debian kann ich das Modul Time::HiRes nicht installieren:
Code: Alles auswählen
cpan> install Time::HiRes
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sat, 12 Mar 2005 07:48:41 GMT
HTTP::Date not available
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Running install for module Time::HiRes
Running make for J/JH/JHI/Time-HiRes-1.66.tar.gz
CPAN: MD5 security checks disabled because Digest::MD5 not installed.
Please consider installing the Digest::MD5 module.
Scanning cache /root/.cpan/build for sizes
Time-HiRes-1.66/
Time-HiRes-1.66/Changes
Time-HiRes-1.66/fallback/
Time-HiRes-1.66/fallback/const-c.inc
Time-HiRes-1.66/fallback/const-xs.inc
Time-HiRes-1.66/hints/
Time-HiRes-1.66/hints/dec_osf.pl
Time-HiRes-1.66/hints/dynixptx.pl
Time-HiRes-1.66/hints/irix.pl
Time-HiRes-1.66/hints/sco.pl
Time-HiRes-1.66/hints/solaris.pl
Time-HiRes-1.66/hints/svr4.pl
Time-HiRes-1.66/HiRes.pm
Time-HiRes-1.66/HiRes.xs
Time-HiRes-1.66/Makefile.PL
Time-HiRes-1.66/MANIFEST
Time-HiRes-1.66/META.yml
Time-HiRes-1.66/ppport.h
Time-HiRes-1.66/README
Time-HiRes-1.66/t/
Time-HiRes-1.66/t/HiRes.t
Time-HiRes-1.66/TODO
Time-HiRes-1.66/typemap
Removing previously used /root/.cpan/build/Time-HiRes-1.66
CPAN.pm: Going to build J/JH/JHI/Time-HiRes-1.66.tar.gz
Configuring Time::HiRes...
Looking for gettimeofday()... found.
Looking for setitimer()... NOT found.
Looking for getitimer()... NOT found.
You do not have interval timers.
Looking for ualarm()... NOT found.
Looking for usleep()... NOT found.
Let's see if you have select()... found.
We can make a Time::HiRes::usleep().
Looking for nanosleep()... NOT found.
You cannot mix subsecond sleeps with signals.
(It would not be portable anyway.)
Checking if your kit is complete...
Looks good
Writing Makefile for Time::HiRes
Now you may issue 'make'. Do not forget also 'make test'.
cp HiRes.pm blib/lib/Time/HiRes.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 HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c
cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.66\" -DXS_VERSION=\"1.66\" -fPIC -I/usr/lib/perl/5.6.1/CORE -DATLEASTFIVEOHOHFIVE HiRes.c
In file included from HiRes.xs:6:
/usr/lib/perl/5.6.1/CORE/perl.h:426: sys/types.h: No such file or directory
In file included from HiRes.xs:6:
/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 HiRes.xs:6:
/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 HiRes.xs:6:
/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 HiRes.xs:6:
/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 HiRes.xs:6:
/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 HiRes.xs:6:
/usr/lib/perl/5.6.1/CORE/perlsdio.h:5: stdio.h: No such file or directory
In file included from HiRes.xs:6:
/usr/lib/perl/5.6.1/CORE/perl.h:2215: math.h: No such file or directory
In file included from HiRes.xs:6:
/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
HiRes.xs:16: sys/time.h: No such file or directory
HiRes.xs:20: sys/select.h: No such file or directory
make: *** [HiRes.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
Allerdings läßt sich glibc -devel mit apt-get install nicht intsallieren, da bekomme ich folgende Meldungen:
Code: Alles auswählen
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package glibc-devel
Code: Alles auswählen
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/non-free Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/contrib Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package glibc-devel
swallow:/etc/apt# apt-get install glibc
Reading Package Lists... Done
Building Dependency Tree... Done
Package glibc has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/non-free Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/contrib Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package glibc has no installation candidate
swallow:/etc/apt# apt-get install glibc-devel
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/non-free Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.uni-erlangen.de main/contrib Packages (/var/lib/apt/lists/ftp.uni-erlangen.de_pub_Linux_debian_testing_dists_main_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package glibc-devel
Mit apt-get install glibc bekomme ich:
Code: Alles auswählen
Reading Package Lists... Done
Building Dependency Tree... Done
Package glibc has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
MfG
Andreas