[MINC-users] Error while trying to use nu_correct

Andrew Janke a.janke at gmail.com
Fri Dec 4 05:16:20 EST 2015


Hi Alessandro,

mni_perllib is very much a historical perl library that is not used in
any new code. The tests in it depend on all sorts of interesting
things like hostnames of old SGI machines from the BIC at the MNI in
order to test job submission.

I'm not up with the current version of the library on github as at one
stage I put some effort into removing all such things. So, my
suggestion would be to just install it as is and ignore the test
failures. Did you use this process?

   $ perl Makefile.PL
   $ make
   $ make install

Let us know if N3 won't run for you after it installs but my guess is
the warnings can be ignored.


a


On 4 December 2015 at 18:16, Alessandro Bellini <ale.notc at gmail.com> wrote:
> Thanks a lot!
> I have the following error while trying to instal  mni.perlib
>
> [2]analisi at analisi-linux1 ~/Scaricati/mni-perllib-master $ make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/checkdirs.t .... ok
> t/checkfiles.t ... ok
> t/datadir.t ...... ok
> t/mincutil.t ..... ok
> t/miscutil.t ..... Use of uninitialized value $host in regexp compilation
> at t/miscutil.t line 21.
> Use of uninitialized value $dir in regexp compilation at t/miscutil.t line
> 21.
> Use of uninitialized value $user in regexp compilation at t/miscutil.t line
> 22.
> Use of uninitialized value $dir in regexp compilation at t/miscutil.t line
> 22.
> Use of uninitialized value $user in regexp compilation at t/miscutil.t line
> 23.
> Use of uninitialized value $host in regexp compilation at t/miscutil.t line
> 23.
> t/miscutil.t ..... Failed 4/28 subtests
> t/numutil.t ...... ok
> t/pathutil.t ..... ok
> t/searchfiles.t .. ok
> t/spawn.t ........ Failed 10/56 subtests
> t/startup.t ...... Failed 6/26 subtests
> t/tag.t .......... ok
> t/tagset.t ....... ok
>
> Test Summary Report
> -------------------
> t/miscutil.t   (Wstat: 0 Tests: 28 Failed: 4)
>   Failed tests:  3-6
> t/spawn.t      (Wstat: 0 Tests: 56 Failed: 10)
>   Failed tests:  13-15, 19-25
> t/startup.t    (Wstat: 0 Tests: 26 Failed: 6)
>   Failed tests:  18-20, 22-24
> Files=12, Tests=346,  1 wallclock secs ( 0.08 usr  0.01 sys +  1.02 cusr
> 0.14 csys =  1.25 CPU)
> Result: FAIL
> Failed 3/12 test programs. 20/346 subtests failed.
> make: *** [test_dynamic] Error 255
>
> Any suggestion?
> Thanks a lot!
> Alessandro
>
> 2015-12-02 16:41 GMT+01:00 Andrew Janke <a.janke at gmail.com>:
>
>> Hi Alessandro,
>>
>> You will need to install mni-perllib, you can find it here:
>>
>>    https://github.com/BIC-MNI/mni-perllib
>>
>>
>> a
>>
>>
>> On 3 December 2015 at 01:35, Alessandro Bellini <ale.notc at gmail.com>
>> wrote:
>> > Dear all,
>> > I've installed N3 in order to use nu_correct, but I have the following
>> > error:
>> >
>> > Can't locate MNI/Startup.pm in @INC (you may need to install the
>> > MNI::Startup module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2
>> > /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
>> > /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at
>> > /usr/local/bic/bin/nu_correct line 37.
>> > BEGIN failed--compilation aborted at /usr/local/bic/bin/nu_correct line
>> 37.
>> >
>> > I need the MNI::Startup module but I'm not able find and install it!
>> >
>> > Thanks a lot
>> >
>> > Alessandro
>> > _______________________________________________
>> > MINC-users at bic.mni.mcgill.ca
>> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users


More information about the MINC-users mailing list