External Email - Use Caution
Dear All
during freesurfer installation, I type
export FREESURFER_HOME=/Applications/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.sh
and I have this error
syntax error near unexpected token 'newline'
can you help me?
thanks
Mike
Hi Mike
can you send us the full command line and screen output? And are you running bash? What operating system?
thanks Bruce On Fri, 30 Aug 2019, michele rizzi wrote:
External Email - Use Caution
Dear All
during freesurfer installation, I type
export FREESURFER_HOME=/Applications/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.sh and I have this error
syntax error near unexpected token 'newline'
can you help me?
thanks
Mike
External Email - Use Caution
Hi Bruce
find attached the file.
Sorry, do I have to install bash?
I'm using Mojave.
thank you
Mike
________________________________ Da: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu per conto di Bruce Fischl fischl@nmr.mgh.harvard.edu Inviato: venerdì 30 agosto 2019 15:15 A: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Oggetto: Re: [Freesurfer] syntax error near unexpected token 'newline'
Hi Mike
can you send us the full command line and screen output? And are you running bash? What operating system?
thanks Bruce On Fri, 30 Aug 2019, michele rizzi wrote:
External Email - Use CautionDear All
during freesurfer installation, I type
export FREESURFER_HOME=/Applications/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.sh and I have this error
syntax error near unexpected token 'newline'
can you help me?
thanks
Mike
You have to give it an actual path (eg, /App/freesurfer/subjeccts). When you see <something> it means that you need to supply the something
On 8/30/2019 9:42 AM, michele rizzi wrote:
External Email - Use Caution
Hi Bruce
find attached the file.
Sorry, do I have to install bash?
I'm using Mojave.
thank you
Mike
________________________________ Da: freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu per conto di Bruce Fischl fischl@nmr.mgh.harvard.edumailto:fischl@nmr.mgh.harvard.edu Inviato: venerdì 30 agosto 2019 15:15 A: Freesurfer support list freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu Oggetto: Re: [Freesurfer] syntax error near unexpected token 'newline'
Hi Mike
can you send us the full command line and screen output? And are you running bash? What operating system?
thanks Bruce On Fri, 30 Aug 2019, michele rizzi wrote:
External Email - Use CautionDear All
during freesurfer installation, I type
export FREESURFER_HOME=/Applications/freesurfer source $FREESURFER_HOME/SetUpFreeSurfer.sh and I have this error
syntax error near unexpected token 'newline'
can you help me?
thanks
Mike
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
I put
export SUBJECTS_DIR=<Applications/freesurfer/subjects>
but again I get
-bash: syntax error near unexpected token `newline'
oh, the export command is failing? You mentioned you weren't running bash (which is the shell that knows what to do with an export command). Can you install bash? If not, you can use setenv instead of export and the .csh file instead of the .sh
On Fri, 30 Aug 2019, michele rizzi wrote:
External Email - Use Caution
I put
export SUBJECTS_DIR=<Applications/freesurfer/subjects>
but again I get
-bash: syntax error near unexpected token `newline'
External Email - Use Caution
Hi, I think you are just mistyping it, if the subjects dir is in " /Applications/freesurfer/subjects/ " the command should be:
export SUBJECTS_DIR=/Applications/freesurfer/subjects/
( instead of export SUBJECTS_DIR=<Applications/freesurfer/subjects>)
Viv
On Fri, Aug 30, 2019 at 4:35 PM Bruce Fischl fischl@nmr.mgh.harvard.edu wrote:
oh, the export command is failing? You mentioned you weren't running bash (which is the shell that knows what to do with an export command). Can you install bash? If not, you can use setenv instead of export and the .csh file instead of the .sh
On Fri, 30 Aug 2019, michele rizzi wrote:
External Email - Use CautionI put
export SUBJECTS_DIR=<Applications/freesurfer/subjects>
but again I get
-bash: syntax error near unexpected token `newline'
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
External Email - Use Caution
On August 30, 2019 at 10:26 PM michele rizzi michele.rizzi@live.it wrote: I put export SUBJECTS_DIR=<Applications/freesurfer/subjects>
I would recommend to go through a short introduction to BASH (if that is the shell you want to use) before working with FreeSurfer, it will save you a lot of trouble.
freesurfer@nmr.mgh.harvard.edu