[MINC-users] mni_perllib-0.07 problem for "make test"

Yasunari Tosa tosa@nmr.mgh.harvard.edu
Tue Oct 12 10:34:05 2004


I encountered problems when I ran "make test" for mni_perllib-0.07.
I'm perl-handicapped.  Please tell me how to fix.

Thank you.

Tosa

1. RedHat 9.   perl version v.5.8.0 built for i386-linux-thread-multi
===============================================
I configured PREFIX=/usr/local/mni/1.2 and data dir to 
/usr/local/mni/1.2/data
# make test
rm -f t/datadir.t
sed 's|@DEFAULT_DATA_DIR@|/usr/local/mni/1.2/data|' t/datadir.t.in > 
t/datadir.t
chmod 444 t/datadir.t
rm -f t/toy_ls
sed 's|@PERL@|\#!/usr/bin/perl|' t/toy_ls.in > t/toy_ls
chmod 555 t/toy_ls
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/batch-0........ok
t/batch-1......../usr/bin/getopt: invalid option -- J
/usr/bin/getopt: invalid option -- Q
/usr/bin/getopt: invalid option -- S
/usr/bin/getopt: invalid option -- s
/usr/bin/getopt: invalid option -- o
/usr/bin/getopt: invalid option -- e
batch: error parsing command-line arguments
Error closing pipe to batch:
 at t/batch-1.t line 36
`batch' exited with non-zero status code: 256
 at t/batch-1.t line 36
make: *** [test_dynamic] Interrupt

2. SuSE 9.1,  perl version 5.8.3 built for x86_64-linux-thread-multi
================================================
make test
rm -f t/datadir.t
sed 
's|@DEFAULT_DATA_DIR@|/space/lyon/6/pubsw/Linux2-2.3-x86_64/packages/mni/1.2/data|' 
t/datadir.t.in > t/datadir.t
chmod 444 t/datadir.t
rm -f t/toy_ls
sed 's|@PERL@|\#!/usr/bin/perl|' t/toy_ls.in > t/toy_ls
chmod 555 t/toy_ls
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/batch-0........ok
t/batch-1......../usr/bin/at: invalid option -- J
Usage: at [-V] [-q x] [-f file] [-m] time
       at [-V] -c job [job ...]
       at [-V] -r job [job ...]
       at [-V] [-f file] -t [[CC]YY]MMDDhhmm[.SS]
       at [-V] -l -q queuename
       at [-V] -l [job ...]
       atq [-V] [-q x]
       atrm [-V] [-q x] job ...
       batch [-V] [-f file] [-m]
Error closing pipe to batch:
 at t/batch-1.t line 36
`batch' exited with non-zero status code: 256
 at t/batch-1.t line 36
make: *** [test_dynamic] Interrupt

-- 
Yasunari Tosa, Ph.D.               Email: tosa@nmr.mgh.harvard.edu
NMR Ctr, Mass. General Hospital    TEL: 617-726-4050 
Building 149, 13th Street
Charlestown, MA 02129
USA