Configuring Time::HiRes... Using hints hints/solaris.pl... Extra libraries: -lposix4... 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()... found. Looking for clock_getres()... 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...found. Trying struct stat st_uatime...NOT found. You seem to have stat() subsecond timestamps. (Your struct stat has them, but the filesystems must help.) Checking if your kit is complete... Looks good Processing hints file hints/solaris.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 /export/home/cpanrun/build/5.6.1/bin/perl -I/export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi -I/export/home/cpanrun/build/5.6.1/lib/5.6.1 /export/home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /export/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_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.9708\" -DXS_VERSION=\"1.9708\" -fPIC -I/export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi/CORE -DHAS_SETITIMER -DHAS_GETITIMER -DHAS_UALARM -DHAS_USLEEP -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=4 -DATLEASTFIVEOHOHFIVE HiRes.c Running Mkbootstrap for Time::HiRes () chmod 644 HiRes.bs rm -f blib/arch/auto/Time/HiRes/HiRes.so LD_RUN_PATH="/usr/lib" gcc -G HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.so -lposix4 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 /export/home/cpanrun/build/5.6.1/bin/perl -Iblib/arch -Iblib/lib -I/export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi -I/export/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 = 1 # have_clock_getres = 1 # have_clock_nanosleep = 0 # have_clock = 1 # have_hires_stat = 1 # I am the main process 11556, starting the timer process... # The timer process 11557 launched, continuing testing... ok 2 ok 3 # I am the timer process 11557, sleeping for 90 seconds... ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1196722730, two = 1196722730, three = 1196722730 ok 13 # tick = 3, one = 1196722730, two = 1196722730, three = 1196722730 ok 14 # s = 72.6120622158051, n = 100, s/n = 0.726120622158051 # time...1196722730.76419 ok 15 # sleep...0.500868 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.319831 # Select returned! 4 0.320081 # 0.893306333333333 # Tick! 3 0.629813 # Select returned! 3 0.63 # 0.79 # Tick! 2 0.939812 # Select returned! 2 0.940005 # 0.686665 # Tick! 1 1.249834 # Select returned! 1 1.250205 # 0.583265 # Tick! 0 1.559835 # Select returned! 0 1.560025 # 0.479991666666667 ok 17 # 0 # setitimer: ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 ok 20 # 1.51226711273193 went by while sleeping 1.5, ratio 1.00813866666667. ok 21 # 1.51976585388184 went by while sleeping 1.5, ratio 1.013144. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 # skipped # CLOCK_REALTIME: try = 1 # t1 = 1196722737.93531, t0 = 1196722736.41804 # dt = 1.51726055145264, rt = 0.0115070343017578 ok 30 ok 31 # tr = 1e-06 # No clock_nanosleep ok 32 # skipped # clock = 0 # clock = 0 1.78 # clock = 0 1.78 3.6 # clock = 0 1.78 3.6 5.39 ok 33 # t0 = 1196722743.37172 # ualarm(100000) # t1 = 1196722743.47533 # dt = 0.103608131408691 # r = 1.03608131408691 ok 34 # t0 = 1196722743.47574 # ualarm(1100000) # t1 = 1196722744.58534 # dt = 1.10960006713867 # r = 1.00872733376243 ok 35 # t0 = 1196722744.58573 # ualarm(2200000) # t1 = 1196722746.7954 # dt = 2.20966601371765 # r = 1.00439364259893 ok 36 # t0 = 1196722746.79592 # ualarm(4300000) # t1 = 1196722751.10547 # dt = 4.30955791473389 # r = 1.00222277086835 ok 37 # mtime = 1196722751.31522 1196722751.66523 1196722751.99524 1196722752.36524 1196722752.62524 # atime = 1196722751.47522 1196722751.82523 1196722752.13524 1196722752.51524 1196722752.76524 # ai = 4, mi = 4, ss = 8 ok 38 # I am the main process 11556, terminating the timer process 11557 # before it terminates me in 65 seconds (testing took 24 seconds). # kill TERM 11557 = 1 # All done. ok, 2/38 skipped: unknown reason All tests successful, 2 subtests skipped. Files=1, Tests=38, 24 wallclock secs (13.36 cusr + 0.07 csys = 13.43 CPU) Installing /export/home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/Time/HiRes/HiRes.so Installing /export/home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/sun4-solaris-thread-multi/auto/Time/HiRes/HiRes.bs Installing /export/home/cpanrun/build/5.6.1/lib/site_perl/5.6.1/sun4-solaris-thread-multi/Time/HiRes.pm Installing /export/home/cpanrun/build/5.6.1/man/man3/Time::HiRes.3 Appending installation info to /export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi/perllocal.pod