壨ǿ⣩ wrote:
>
> Hi,Dave,
>
> Thanks for your quick reply.
>
> I am running on linux redflag(not redhat) desktop 5, and the downloaded
> FSL version is fsl-4.1.2-macosx.tar.gz.
This version is for Mac OS X! Try the centos5 one.
> The following are the requried info by Dave:
>
> [root@localhost ~]# FSLDIR=/usr/local/fsl
> [root@localhost ~]# . ${FSLDIR}/etc/fslconf/fsl.sh
> [root@localhost ~]# set | grep FSL
> FSLCONFDIR=/usr/local/fsl/config
> FSLDIR=/usr/local/fsl
> FSLLOCKDIR=
> FSLMACHINELIST=
> FSLMACHTYPE=linux_32-gcc3.4
> FSLMULTIFILEQUIT=TRUE
> FSLOUTPUTTYPE=NIFTI_GZ
> FSLREMOTECALL=
> FSLTCLSH=/usr/local/fsl/bin/fsltclsh
> FSLWISH=/usr/local/fsl/bin/fslwish
> [root@localhost ~]# fsl
> bash: fsl: command not found
> [root@localhost ~]# ls $FSLDIR
> build config data doc etc extras LICENCE README src
> [root@localhost ~]#
>
> It is said to be there shall be a "bin" file yet no such file exists....
>
> To the last two question: Yes, I log in as root, and it seems to be
> fine; I didn't use another user account.
>
>
>
>
>
> > Hm, I'd be very surprised if that was so! What OS are we talking about here? After running the ". ${FSLDIR}/etc/fslconf/fsl.sh", type "set | grep FSL" you should get a list of 5 or 6 environment variables; what are their values? Also send us the output of "ls $FSLDIR". Finally, shouldn't really be a problem but, why are you running as root? Do you get different behaviour if you run as a regular user?
>
> >
> > ------Original Message------
> > From: Zareal Wang
> > Sender: FSL - FMRIB's Software Library
> > To: [log in to unmask]
> > ReplyTo: FSL - FMRIB's Software Library
> > Sent: 14 Jan 2009 04:44
> > Subject: [FSL] bash does not recognize ". $..."
> >
> > [root@localhost ~]# FSLDIR=/usr/local/fsl
> > [root@localhost ~]# . ${FSLDIR}/etc/fslconf/fsl.sh
> > [root@localhost ~]# PATH=${FSLDIR}/bin:${PATH}
> > [root@localhost ~]# export FSLDIR PATH
> > [root@localhost ~]# fsl
> > bash: fsl: command not found
> > [root@localhost ~]#
> >
> > As above, bash did not really exectue the ". &..." command and sometime
> > couldn't recognize it and other command.
> >
> > In addtion, I tried to search the .profile, yet failed. Althouth I found the
>
> > .bashrc, but after changing some contents, fsl simply would not work.
> >
> > Thanks for advice.
> >
> >
> >
> > Sent using BlackBerry from Orange
>
>
>
>
>
>
>
--
Dave Flitney, IT Manager
Oxford Centre for Functional MRI of the Brain
E:[log in to unmask] W:+44-1865-222713 F:+44-1865-222717
URL: http://www.fmrib.ox.ac.uk/~flitney
|