[MINC-development] minc-patch: fixing check for gunzip

Jason Lerch minc-development@bic.mni.mcgill.ca
Mon, 24 Nov 2003 16:03:28 -0500


The key is in setting the environment variable PERL5LIB - and, like 
Sylvain pointed out, ensuring that the leading slash is there for the 
/usr/local/mni line.

Cheers,

Jason

On Nov 24, 2003, at 3:01 PM, Vicka Corey wrote:

> i said:
>> mritotal -verbose -debug -clobber -protocol icbm orig/orig.mnc 
>> transforms/talairach.xfm
>> defined(@array) is deprecated at 
>> /usr/local/mni/lib/mni_autoreg/Startup.pm line 231.
>>         (Maybe you should just omit the defined()?)
>> Can't locate Getopt/Tabular.pm in @INC (@INC contains: 
>> /usr/local/mni/lib/mni_autoreg usr/local/mni/lib/Library/Perl/5.8.1 
>> /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin 
>> /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) 
>> at /usr/local/mni/bin/mritotal line 56.
>> BEGIN failed--compilation aborted at /usr/local/mni/bin/mritotal line 
>> 56.
>> ERROR: mritotal failed
>> ERROR: talairach exited with non-zero status
>>
>> ...is Tabular.pm one of your things, or do i need to get it from some 
>> other
>> perl distribution source?  or is there something else going wrong 
>> here?
>
> ...and the odd thing is, Getopt/Tabular.pm is there:
> ocelot:vicka[161] find /usr -name Tabular.pm -ls
> 1331082   56 -r--r--r--    1 corey    wheel       26892 Apr  7  1999 
> /usr/local/mni/lib/Library/Perl/5.8.1/Getopt/Tabular.pm
> ocelot:vicka[162]
>
> ...so now i am rather confused :/
>
> --vicka
> _______________________________________________
> MINC-development mailing list
> MINC-development@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development