Subject: | Fails test on dragonflybsd 2.11 |
I've installed R on dragonflybsd 2.11:
Show quoted text
> uname -s -r -p -n
DragonFly lap.diff.org 2.11-DEVELOPMENT i386
Show quoted text> R
R version 2.11.1 (2010-05-31)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Then I've tried to install your perl module:
CPAN.pm: Going to build X/XI/XINZHENG/Statistics-useR-0.1.0.tar.gz
No 'Makefile' createdCPAN: YAML loaded ok (v0.72)
XINZHENG/Statistics-useR-0.1.0.tar.gz
/usr/pkg/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
XINZHENG/Statistics-useR-0.1.0.tar.gz : writemakefile NO -- No
'Makefile' created
lap# cd /tmp/.cpan/build/Statistics-useR-NG57WO
lap# less Makefile.PL
Ah, I've to define R_HOME!
OK.
lap# setenv R_HOME /usr/pkg/lib/R
lap# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Statistics::useR
lap# make
cp lib/Statistics/useR.pm blib/lib/Statistics/useR.pm
cc -c -I. -I/usr/pkg/lib/R/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -O2
-pthread -I/usr/include -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" -DPIC
-fPIC "-I/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi/CORE"
typeconvert.c
/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.12.0/ExtUtils/xsubpp -typemap
/usr/pkg/lib/perl5/5.12.0/ExtUtils/typemap -typemap typemap useR.xs >
useR.xsc && mv useR.xsc useR.c
Please specify prototyping behavior for useR.xs (see perlxs manual)
cc -c -I. -I/usr/pkg/lib/R/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -O2
-pthread -I/usr/include -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" -DPIC
-fPIC "-I/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi/CORE"
useR.c
useR.c: In function 'XS_Statistics__useR_init_R':
useR.c:365: warning: assignment makes pointer from integer without a cast
Running Mkbootstrap for Statistics::useR ()
chmod 644 useR.bs
rm -f blib/arch/auto/Statistics/useR/useR.so
LD_RUN_PATH="/usr/pkg/lib/R/lib" cc -Wl,-R/usr/pkg/lib -shared
-fstack-protector typeconvert.o useR.o -o
blib/arch/auto/Statistics/useR/useR.so -L/usr/pkg/lib/R/lib -lR
-L/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi/CORE
-Wl,-R/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi/CORE
-Wl,-R/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi/CORE -lperl
chmod 755 blib/arch/auto/Statistics/useR/useR.so
cp useR.bs blib/arch/auto/Statistics/useR/useR.bs
chmod 644 blib/arch/auto/Statistics/useR/useR.bs
Manifying blib/man3/Statistics::useR.3
lap# make test
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Statistics-useR.t .. 1/1
# Failed test 'use Statistics::useR;'
# at t/Statistics-useR.t line 9.
# Tried to use 'Statistics::useR'.
# Error: Can't locate forks.pm in @INC (@INC contains:
/tmp/.cpan/build/Statistics-useR-NG57WO/blib/lib
/tmp/.cpan/build/Statistics-useR-NG57WO/blib/arch
/usr/pkg/lib/perl5/site_perl/5.12.0/i386-dragonfly-thread-multi
/usr/pkg/lib/perl5/site_perl/5.12.0
/usr/pkg/lib/perl5/vendor_perl/5.12.0/i386-dragonfly-thread-multi
/usr/pkg/lib/perl5/vendor_perl/5.12.0
/usr/pkg/lib/perl5/5.12.0/i386-dragonfly-thread-multi
/usr/pkg/lib/perl5/5.12.0 .) at
/tmp/.cpan/build/Statistics-useR-NG57WO/blib/lib/Statistics/useR.pm line 29.
# BEGIN failed--compilation aborted at
/tmp/.cpan/build/Statistics-useR-NG57WO/blib/lib/Statistics/useR.pm line 29.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Statistics-useR.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/Statistics-useR.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.04 cusr
0.02 csys = 0.12 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
*** Error code 1
Stop in /tmp/.cpan/build/Statistics-useR-NG57WO.
lap# perl -v
This is perl 5, version 12, subversion 2 (v5.12.2) built for
i386-dragonfly-thread-multi