Xander,
In the newer 'dev' releases (from about Sept 1st, I think), there is a script in the $FREESURFER_HOME/bin directory called 'fixup_mni_paths' that will perform the changes that you describe (replaces the /usr/pubsw path with the path to the perl installed on your system).
I've attached the script in case you don't have it. (cp the file to $FREESURFER_HOME/bin, type gunzip fixup_mni_paths.gz to uncompress, type fixup_mni_paths to run)
Nick
On Thu, 2005-10-27 at 14:31 -0500, Xander Meadow wrote:
Hi,
I was trying to run recon-all on a Redhat Enterprise machine and it failed when trying to run nu_correct with the error:
command not found
The problem was that nu_correct assumes that perl is in /usr/pubsw/bin/perl, while on the default Redhat install it is at /usr/bin/perl. As a work around I created a /usr/pubsw/bin and made a soft link to perl there and now nu_correct works. But, this seems like a hack and I was wondering if there is a better way to tell the MNI programs where perl actually lives. Thanks very much.
Xander
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer