Cygwin compilation error

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
foropeza
Posts: 2
Joined: Fri Apr 27, 2007 9:40 pm
Location: Universidad Nacional Autónoma de México

Cygwin compilation error

#1 Unread post by foropeza »

I am following the tutorial: Installing ROMS in Windows XP/Vista (via Cygwin) but when i was trying to compile i get this error:

$ ./build.bash
./build.bash: line 40: $'\r': command not found
./build.bash: line 43: $'\r': command not found
./build.bash: line 46: syntax error near unexpected token `$'in\r''
'/build.bash: line 46: ` case "$1" in

does any one can help me with this, thanks in advance.

jcwarner
Posts: 1204
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

#2 Unread post by jcwarner »

this took me 6 seconds to find an answer to your question.
Use the Google search option,
search.php
and enter

./build.bash: line 40: $'\r': command not found

and see what you get.

foropeza
Posts: 2
Joined: Fri Apr 27, 2007 9:40 pm
Location: Universidad Nacional Autónoma de México

#3 Unread post by foropeza »

Ok, Thank you it was a "dos2unix" problem i run it to the build.bash file and it is compiling now!, thanks again

Post Reply