Syntax error: end of file unexpected (expecting "then")

75 views
Skip to first unread message

Sasha Vorobyova

unread,
Oct 29, 2015, 9:25:02 PM10/29/15
to CTAT Users
Hello,

I'm trying to install SimStudent using the user guide (http://ctat.pact.cs.cmu.edu/index.php?id=simst-authors-toolkit), on Linux, and I'm stuck on step 5 : Run compileSymbols.sh (on Mac or Linux) or compileSymbols.bat (on Windows)

I'm doing the necessary commands on Terminal (chmod +x with the .sh file, and then ./filename), and I'm getting "bash: ./compileSymbols.sh: /bin/bash^M: bad interpreter: No such file or directory" when I use the ./ command, or else if I use the .sh command, I get "compileSymbols.sh: 54 Syntax error: end of file unexpected (expecting "then")"

Any ideas why that may be? Is it an OS thing?

Thanks,

Sasha

Reply all
Reply to author
Forward
0 new messages