Hi - you have two problems.
1. You have not installed a full distribution of cygwin - see the FSL
installation instructions for how to get a FULL install of cygwin.
2. You need to enter the setup command _exactly_ and then start a new
cygwin terminal - then all will work fine.
Cheers.
On Thu, 20 Oct 2005, Siddharth wrote:
> I have a problem similar to the posting reproduced below.
>
> I am running windows XP professional on a Athlon processor, and downloaded
> both cygwin and fsl yeasterday.
>
> I went into the cygwin terminal, and unpacked the files using tar.
> Everything well and good until this time.
>
> Then, as on the site, i tried running the following command:
> echo 'export FSLDIR=/usr/local/fsl; . ${FSLDIR}/etc/fslconf/fsl.sh; export
> PATH=${FSLDIR}/bin:$PATH' >> ~/.bash_profile
>
> All on the same line, with semicolons. (IMPORTANT: perhaps this is where I
> am being stupid. I am not able to reproduce the ' right before the word
> "export" on the cygwin screen. My aporstophe is rather curved- I type it
> using the button next to the "enter" key on the keyboard)
>
>
> Everything goes well after I type that command. No error messages.
>
> So I go to the fsl directory, and click on fsl.bat, and it does not work.
>
> So, I went into the cygwin terminal, and typed in "fsl". Doesnt work. I get
> the following error message: "You need to source an fsl setup file: either
> fsl.sh or fsl.csh in the $FSLDIR/etc/fslconf!"
>
> Now, I typed in fast in the cygwin windows. It works. I typed in fast_gui in
> the cygwin window. Does not work. Same error message as above.
>
>
> So,
> I searched on the messageboard, and saw the posting below. I think the
> commands are more suited to linux, but I typed them in anyway:
> FSLDIR=/usr/local/fsl
> . ${FSLDIR}/etc/fslconf/fsl.sh
> PATH=${FSLDIR}/bin:${PATH}
> export FSLDIR PATH
>
> after typing the second line and hitting enter, I get an error message, 4
> lines as follows:
> gcc: Command not found
> bash: gcc: command not found
> bash: gcc: command not found
> bash: [: /home/Siddharth: binary operator expected
>
>
> So,
> I stopped at this point, and just for the heck of it, typed in fsl
> Well.... IT WORKED!
>
> The problem now is,
> I have to type in those two lines everytime from the cygwin window.
> I have no idea what is wrong and whether it will affect the future
> functioning/image processing by the program.
>
>
>
> Could you please help me?
> Thanks,
> Siddharth.
>
--
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)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
|