hi Mark:
I just tackled the problem. What I did was copy everything in .bash_profile in to .bashrc, and then it works. But i dont really understand that. Could you explain a little bit to me?
Thanks a lot
Xuelin
****************************************
Xuelin Cui
Department of Electrical Engineering
University of Hawaii-Manoa
Honolulu HI 96822
Tel: 1-808-349-0983
Email: [log in to unmask]
****************************************
----- Original Message -----
From: Mark Jenkinson <[log in to unmask]>
Date: Tuesday, January 16, 2007 10:15 pm
Subject: Re: [FSL] installing FSl3.3.8 on a Mac
To: [log in to unmask]
> Hi,
>
> That all looks fine as long as you have the directory
> /Users/xuelin/fsl/fsl/binand not /Users/xuelin/fsl/bin
>
> Assuming that this is fine, and that there is a space between the
> "." and
> the "${FSLDIR}/etc/fslconf/fsl.sh" on the second line then I don't
> know why
> it isn't working.
>
> If you still do not get any result when you do:
> echo $FSLDIR
> in your terminal window, then send us your .bash_profile, .bashrc
> and .profile
> files (whichever ones exist) to our upload site at:
> http://www.fmrib.ox.ac.uk/cgi-bin/upload.cgi
> along with the reference number.
> Once we have these we can look into the problem a little more.
>
> All the best,
> Mark
>
> On Tue, 16 Jan 2007 09:41:26 -1000, Xuelin Cui <[log in to unmask]>
> wrote:
> >hi Mark:
> >
> >I use the command "pico" to edit .bash_profile. Then I deleted
> everything. Then I type the script
> from scratch. The thing I typed in the file was :
> >
> >FSLDIR=/Users/xuelin/fsl/fsl
> >. ${FSLDIR}/etc/fslconf/fsl.sh
> >PATH=${FSLDIR}/bin:${PATH}
> >export FSLDIR PATH
> >export DISPLAY=localhost:0.0
> >
> >where "/Users/xuelin/fsl/" is my path where I extracted the FSL
> package. I dont know what is
> plain text mode. And I didnt see the menu that I can select the
> plain test mode. I am not sure
> whether my mode was plain text mode when I was editing this script. :(
> >
> >Xuelin
> >
> >
> >****************************************
> >Xuelin Cui
> >Department of Electrical Engineering
> >University of Hawaii-Manoa
> >Honolulu HI 96822
> >
> >Tel: 1-808-349-0983
> >Email: [log in to unmask]
> >****************************************
> >
> >----- Original Message -----
> >From: Mark Jenkinson <[log in to unmask]>
> >Date: Monday, January 15, 2007 10:58 pm
> >Subject: Re: [FSL] installing FSl3.3.8 on a Mac
> >To: [log in to unmask]
> >
> >> Hi,
> >>
> >> How did you put the commands in your .bash_profile originally?
> >> If it isn't a pure text file then that would explain why things
> >> are not working. Never use Word for things like this as it
> >> corrupts the files badly. Ideally use a plain text editor
> >> (e.g. pico), or even TextEdit *if* you force it to work in
> >> plain text mode.
> >>
> >> This sounds like the most likely problem at the moment.
> >> So load up your existing .bash_profile in a text editor, delete
> >> the lines you added before and cut and paste the lines again
> >> from our docs. Then you can edit the FSLDIR path (still in
> >> the text editor) and hopefully everything will work after that.
> >>
> >> All the best,
> >> Mark
> >>
> >>
> >> On Mon, 15 Jan 2007 14:41:33 -1000, Xuelin Cui <[log in to unmask]>
> >> wrote:
> >> >hi Mark
> >> >
> >> >Many thanks for answering my questions.
> >> >
> >> >I tried logging in/out, but it doesn't work. I type the command
> >> bash in my
> >> console, there are "GNU bash, version 2.05b.0(1)-release
> >> (powerpc-apple-darwin8.0)" info like that, followed by the command
> >> list. So
> >> I think it is bash, isn't it? I don't know how to put command in my
> >> .bash_profile. I am new to this. For the script in the
> >> .bash_profile, I
> >> simply copy everything from the website and paste it in to the
> >> file. The
> >> only thing I changed was the directory. I used my own.
> >> >
> >> >So I don't really what else can I try. Do you have any suggestion?
> >> >
> >> >Thanks a lot, I appreciate your help
> >> >
> >> >Xuelin
> >> >
> >> >
> >> >
> >> >****************************************
> >> >Xuelin Cui
> >> >Department of Electrical Engineering
> >> >University of Hawaii-Manoa
> >> >Honolulu HI 96822
> >> >
> >> >Tel: 1-808-349-0983
> >> >Email: [log in to unmask]
> >> >****************************************
> >> >
> >> >----- Original Message -----
> >> >From: Mark Jenkinson <[log in to unmask]>
> >> >Date: Sunday, January 14, 2007 10:58 pm
> >> >Subject: Re: [FSL] installing FSl3.3.8 on a Mac
> >> >To: [log in to unmask]
> >> >
> >> >> Hi,
> >> >>
> >> >> Putting fsl in your own path should be fine.
> >> >> It looks like your environment setup isn't right.
> >> >>
> >> >> Did you try logging out and logging in again?
> >> >> Sometimes logging out/in is the easiest way to force
> >> >> everything to start afresh and see if it works.
> >> >>
> >> >> Are you sure you are running bash?
> >> >> It is possible to set up the user shell to run tcsh instead,
> >> >> and this would stop the .bash_profile from being run.
> >> >>
> >> >> If none of this is the case, then try putting the commands
> >> >> in your .profile instead.
> >> >>
> >> >> If even this fails then try remaking the file from the
> >> >> website instructions (cut and paste rather than type
> >> >> the commands so that all the syntax is exact).
> >> >>
> >> >> Hopefully something here will work.
> >> >> Otherwise email us again.
> >> >> All the best,
> >> >> Mark
> >> >>
> >> >>
> >> >> On 12 Jan 2007, at 03:06, Xuelin Cui wrote:
> >> >>
> >> >> > hi all:
> >> >> >
> >> >> > I am new to fsl. I had a problem when I was installing the
> fsl on
> >> >>
> >> >> > my Mac. I
> >> >> > follow the instruction every step. The only difference is
> that I
> >> >> un-
> >> >> > tar the
> >> >> > download package to my own path: /Users/xuelin/. After un-tar,
> >> >> all
> >> >> > the fsl
> >> >> > files and folder were in the folder of /User/xuelin/fsl.
> >> >> >
> >> >> > Then I modified the .bash_profile as the instruction said. I
> >> copied>> > everything but change the first line into:
> >> FSLDIR=/Users/xuelin/>> > fsl. Then I
> >> >> > exit te termical and re-launch it again. But when I am
> trying to
> >> >> > see if I
> >> >> > correctly setup the environment by typing "echo $FSLDIR", it
> >> >> shows
> >> >> > nothing
> >> >> > on the screen. Then of course I failed to run fsl, as well
> as its
> >> >> GUI.>
> >> >> > I dont know why I failed like that? Is that because I didnt
> >> >> > correctly setup
> >> >> > my envioronment?
> >> >> >
> >> >> > Anyone can help, I really appreciate.
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> > Xuelin
> >> >>
> >>
> >===========================================================
> ==============
> >>
> >===========================================================
> ==============
>
|