Configuring Time::HiRes... Using hints hints/linux.pl... Extra libraries: -lrt... Have syscall()... looking for syscall.h... found . Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and getitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... found. You can mix subsecond sleeps with signals, if you want to. (It's still not portable, though.) Looking for clock_gettime()... NOT found. Looking for clock_getres()... NOT found. Looking for clock_nanosleep()... NOT found. Looking for clock()... found. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...NOT found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...NOT found. Trying struct stat st_uatime...NOT found. You do not seem to have stat subsecond timestamps. Checking if your kit is complete... Looks good Processing hints file hints/linux.pl Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. cp HiRes.pm blib/lib/Time/HiRes.pm /home/cpanrun/build/5.6.1/bin/perl -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi -I/home/cpanrun/build/5.6.1/lib/5.6.1 /home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c gcc -c -DUSE_REENTRANT_API -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.9708\" -DXS_VERSION=\"1.9708\" -fpic -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/CORE -DHAS_SETITIMER -DHAS_GETITIMER -DHAS_UALARM -DHAS_USLEEP -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK -DATLEASTFIVEOHOHFIVE HiRes.c Running Mkbootstrap for Time::HiRes () chmod 644 HiRes.bs rm -f blib/arch/auto/Time/HiRes/HiRes.so LD_RUN_PATH="/lib" gcc -shared HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.so -lrt chmod 755 blib/arch/auto/Time/HiRes/HiRes.so cp HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs chmod 644 blib/arch/auto/Time/HiRes/HiRes.bs Manifying blib/man3/Time::HiRes.3 PERL_DL_NONLAZY=1 /home/cpanrun/build/5.6.1/bin/perl -Iblib/arch -Iblib/lib -I/home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi -I/home/cpanrun/build/5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/HiRes.............1..38 ok 1 # have_gettimeofday = 1 # have_usleep = 1 # have_nanosleep = 1 # have_ualarm = 1 # have_clock_gettime = 0 # have_clock_getres = 0 # have_clock_nanosleep = 0 # have_clock = 1 # have_hires_stat = 0 # I am the main process 3852, starting the timer process... # The timer process 3853 launched, continuing testing... # I am the timer process 3853, sleeping for 90 seconds... ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1192487908, two = 1192487908, three = 1192487908 ok 13 # tick = 3, one = 1192487908, two = 1192487908, three = 1192487908 ok 14 # s = 70.3164312839508, n = 100, s/n = 0.703164312839508 # time...1192487908.73755 ok 15 # sleep...0.50441 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.29975 # Select returned! 4 0.300027 # 0.899991 # Tick! 3 0.599702 # Select returned! 3 0.599931 # 0.800023 # Tick! 2 0.899701 # Select returned! 2 0.899927 # 0.700024333333333 # Tick! 1 1.199695 # Select returned! 1 1.199915 # 0.600028333333333 # Tick! 0 1.499692 # Select returned! 0 1.499911 # 0.500029666666667 ok 17 # 0 # setitimer: 0 0 ok 18 # getitimer: 0.51 0.4 # Tick! 2 0.507113 # Tick! 1 0.907118 # Tick! 0 1.307083 # Tick! 0 1.707096 # getitimer: 0 0 ok 19 ok 20 # 1.51813006401062 went by while sleeping 1.5, ratio 1.01206333333333. ok 21 # 1.51964402198792 went by while sleeping 1.5, ratio 1.01306866666667. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 # skipped # No clock_gettime ok 30 # skipped # No clock_getres ok 31 # skipped # No clock_nanosleep ok 32 # skipped # clock = 2 # clock = 2 3.3 # clock = 2 3.3 4.6 # clock = 2 3.3 4.6 5.89 ok 33 # t0 = 1192487919.94196 # ualarm(100000) # t1 = 1192487920.03234 # dt = 0.090378999710083 # r = 0.90378999710083 ok 34 # t0 = 1192487920.03312 # ualarm(1100000) # t1 = 1192487921.13233 # dt = 1.09921288490295 # r = 0.999284440820867 ok 35 # t0 = 1192487921.13306 # ualarm(2200000) # t1 = 1192487923.33232 # dt = 2.19925785064697 # r = 0.999662659384987 ok 36 # t0 = 1192487923.33307 # ualarm(4300000) # t1 = 1192487927.63228 # dt = 4.29921507835388 # r = 0.999817460082298 ok 37 # No effectual d_hires_stat ok 38 # skipped # I am the main process 3852, terminating the timer process 3853 # before it terminates me in 68 seconds (testing took 21 seconds). # kill TERM 3853 = 1 # All done. ok, 5/38 skipped: unknown reason All tests successful, 5 subtests skipped. Files=1, Tests=38, 21 wallclock secs (13.56 cusr + 0.04 csys = 13.60 CPU) Installing /home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/i686-linux-thread-multi/auto/Time/HiRes/HiRes.so Installing /home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/i686-linux-thread-multi/Time/HiRes.pm Installing /home/cpanrun/build/5.6.1/man/man3/Time::HiRes.3 Appending installation info to /home/cpanrun/build/5.6.1/lib/5.6.1/i686-linux-thread-multi/perllocal.pod