Andrew,
Answer to 1. - rename tksurfer_fc5 to tksurfer.bin. Beginning with v3.0.4 of freesurfer, 'tksurfer' became a wrapper script (which declares necessary tcl/tk environment vars and calls the binary tksurfer.bin, which was 'tksurfer' in older versions of freesurfer). Also, you may need to set the 'executable' bits on the file, ie:
chmod a+x $FREESURFER_HOME/bin/tksurfer.bin
Answer to 2. - yes, unfortunately you will need to install libglut.so.3 for tksurfer to work.
Nick
On Wed, 2007-01-03 at 10:41 -0600, Andrew Bolstad wrote:
Hi,
We are trying to install Freesurfer on a Linux Fedora Core 6 platform. We downloaded the CentOS 4 platform and the FC 5 upgrade of tksurfer. We have two questions:
- When we rename tksurfer_fc5 to tksurfer and move it into the Freesurfer directory, it is an executable file, whereas the old tksurfer was an executable text file. Do we need to do something to change the file type? In its current state, the tksurfer upgrade does not appear to work. We tried the command:
tksurfer bert rh pial
and got a "permission denied" message (we are logged in as root). The message was:
/usr/share/freesurfer/bin//tksurfer: Permission denied.
By the way, we have the freesurfer directory in /usr/share/.
- We seem to be missing a library file of some kind. We ran these two commands to test freesurfer:
tkmedit bert norm.mgz tkmedit bert orig.mgz
and get this error message both times:
/usr/share/freesurfer/bin/tkmedit.bin: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory
Do we need to download libglut.so.3?
If anyone on this list can answer these questions, please let us know what we need to do.
Thanks, Andrew Bolstad _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer