Don,

A work-around to the Freesurfer-FSL Tix conflict, as found by Christian
Beckmann, is to include the following line after Freesurfer is setup and
before FSL is setup:

  <freesurfer setup>

  setenv TCLLIBPATH $FSLDIR/lib

  <fsl setup>

In actuality, $FSLDIR would need to be expanded to whereever FSL is
installed on your system.

TCLLIBPATH is normally set by the Freesurfer setup to point to its own
TCL libs, but it just so happens that Freesurfer works fine with the TCL
libs included with FSL (ie, those in $FSLDIR/lib).

This is a work-around.  I will look into a better long-term solution,
whereby Freesurfer and FSL work together without this special setup.
However, I personally have not been able to recreate this problem on the
Mac installation of Freesurfer and FSL that I work with (but Christian
Beckmann did see the problem on his Mac, and found the work-around).  On
my system, the FSL tools work fine with the existing Freesurfer setup,
so it will take me some time to figure out just what is special about my
setup versus those of other Mac setups.

Nick


On Wed, 2005-11-09 at 22:27 -0800, Don Hagler wrote:
> The problem does occur when fsl is initialized after freesurfer, but it may 
> be possible to comment out certain lines from the freesurfer setup script.  
> I haven't tried that.
> 
> 
> >From: Stephen Smith <[EMAIL PROTECTED]>
> >To: Don Hagler <[EMAIL PROTECTED]>
> >CC: freesurfer@nmr.mgh.harvard.edu, [EMAIL PROTECTED]
> >Subject: RE: [Freesurfer] freesurfer + fsl
> >Date: Wed, 9 Nov 2005 18:33:55 +0000 (GMT)
> >
> >
> >Right - but does FreeSurfer actually use those environment variables or
> >does it just set them up because it's own bundled version of FSL needs
> >them? If it's the latter it may just be enough to initialise FreeSurfer
> >first and FSL second, and then all may be well?
> >
> >Cheers.
> >
> >
> >
> >On Tue, 8 Nov 2005, Don Hagler wrote:
> >
> > > I forgot to mention that your .cshrc or .bashrc should not automatically
> > > initialize freesurfer or fsl.  You would want to set up an alias to do 
> >that
> > > selectively per terminal window.
> > >
> > > Don Hagler wrote:
> > > >
> > > >I had a similar problem running Linux RedHat E4.  It seems that fsl and
> > > >freesurfer have incompatible versions of tcltktix.  One solution is to
> > > >always run freesurfer and fsl from different terminal windows.
> > > >
> > > >
> > > >Peter Soros wrote:
> > > >Wed, 02 Nov 2005 15:19:19 -0800
> > > >
> > > >Hi All,
> > > >
> > > >
> > > >I have installed Freesurfer for Mac OS X (2 Oct 2005) on my system 
> >(running
> > > >10.4.2) - thanks for the OS X release!
> > > >
> > > >Unfortunately, fsl doesn't work after the installation of Freesurfer.
> > > >
> > > >This is the error message I get when I try to open the fsl GUI:
> > > >
> > > >Error in startup script: no suitable image found.  Did find:
> > > >
> > > >/Applications/freesurfer/lib/tcltktixblt/lib/ libtix8.1.8.4.a: unknown 
> >fi
> > > >
> > > >le type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A
> > > >    while executing
> > > >"load /Applications/freesurfer/lib/tcltktixblt/lib/libtix8.1.8.4.a Tix"
> > > >    ("package ifneeded" script)
> > > >    invoked from within
> > > >"package require Tix"
> > > >    invoked from within
> > > >
> > > >"if { [ string first tclsh [ file tail [ info nameofexecutable ] ] ] ! 
> >= 0
> > > >} {
> > > >
> > > >    package require Tix
> > > >    tix configure -scheme TixGray
> > > >    option add ..."
> > > >    (file "/usr/local/fsl/tcl/fslstart.tcl" line 3)
> > > >    invoked from within
> > > >"source [ file dirname [ info script ] ]/fslstart.tcl"
> > > >    (file "/usr/local/fsl/tcl/fsl.tcl" line 71)
> > > >    invoked from within
> > > >"source ${FSLDIR}/tcl/${origname}.tcl"
> > > >    (file "/usr/local/fsl/bin/fsl" line 19)
> > > >
> > > >
> > > >FSL was installed in the recommended directory /usr/local/fsl/ and 
> >worked
> > > >well before.
> > > >
> > > >Any help to get FSL working again is highly appreciated!!
> > > >
> > > >Peter
> > > >
> > > >
> > > >_______________________________________________
> > > >Freesurfer mailing list
> > > >Freesurfer@nmr.mgh.harvard.edu
> > > >https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > >
> > >
> > > _______________________________________________
> > > Freesurfer mailing list
> > > Freesurfer@nmr.mgh.harvard.edu
> > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > >
> >
> >--
> >  Stephen M. Smith  DPhil
> >  Associate Director, FMRIB and Analysis Research Coordinator
> >
> >  Oxford University Centre for Functional MRI of the Brain
> >  John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
> >  +44 (0) 1865 222726  (fax 222717)
> >
> >  [EMAIL PROTECTED]  http://www.fmrib.ox.ac.uk/~steve
> >
> >_______________________________________________
> >Freesurfer mailing list
> >Freesurfer@nmr.mgh.harvard.edu
> >https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> 
> 
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> 
> 

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to