Hi, We've just installed version 3.05 for Mac and get the error below when running -autorecon1. I've noticed this error has been posted to the list a few times, but it always seems to have been resolved internally. Any help is much appreciated. Thanks, Alex
Can't locate MNI/Startup.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/ darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level/Network/Library /Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/Library/Perl/5.8.1.) at /usr/ local/freesurfer/lib/mni/bin/nu_correct line 37. BEGIN failed--compilation aborted at /usr/local/freesurfer/lib/mni/bin/nu_correc t line 37. ERROR: nu_correct
Alex,
What is your environment variable 'PERL5LIB' set to? It should contain something like:
/usr/local/freesurfer/mni/lib/../System/Library/Perl/5.8.6
assuming you have installed in /usr/local/freesurfer.
That directory (PERL5LIB, well, actually MNI_PERL5LIB, which is appended to PERL5LIB) should contain the directory 'MNI', which contains the file Startup.pm, which is not being found in your case. If that directory is somewhere else, you can set MNI_PERL5LIB to that directory before sourcing the freesurfer setup script.
Another possibility is to type:
unsetenv PERL5LIB
before sourcing the freesurfer setup script.
Nick
On Fri, 2007-03-23 at 10:18 +1100, Alex Fornito wrote:
Hi, We've just installed version 3.05 for Mac and get the error below when running -autorecon1. I've noticed this error has been posted to the list a few times, but it always seems to have been resolved internally. Any help is much appreciated. Thanks, Alex
Can't locate MNI/Startup.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/ darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level/Network/Library /Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6/Library/Perl/5.8.1.) at /usr/ local/freesurfer/lib/mni/bin/nu_correct line 37. BEGIN failed--compilation aborted at /usr/local/freesurfer/lib/mni/bin/nu_correc t line 37. ERROR: nu_correct
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu