Problem with latest toolchain

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
matkeupon
Posts: 26
Joined: Sat Jul 02, 2005 10:58 pm

Problem with latest toolchain

Post by matkeupon »

Hi,

I'm having problems using the latest toolchain from the svn. I just installed cygwin, and I never had problems using the toolchain before. Now it says it has some weird syntax errors...

: command not founde 4:
: command not founde 8:
: command not founde 11:
: command not founde 15:
: command not founde 22:
: command not founde 25:
: command not founde 29:
'/toolchain.sh: line 50: syntax error near unexpected token `in
'/toolchain.sh: line 50: ` case "$1" in

I did install cygwin correctly, so no cr lf converison problems should be involved...

Thanks in advance !
Bytrix
Posts: 72
Joined: Wed Sep 14, 2005 7:26 pm
Location: England

Post by Bytrix »

command not found would indicate that you have not installed the development tools? I wouldn't know which you're missing though, using Linux myself.
goebish
Posts: 29
Joined: Sat Oct 14, 2006 11:59 pm

Post by goebish »

I've the same problem:

This looks like a cr/lf problem in ./toolchain.sh from svn.
If you open it with an hex editor you can see lines ending is $0D$0A, which is bad !

edit: I just updated from svn and the problem seem to be gone ...
Cy-4AH
Posts: 44
Joined: Wed Jan 31, 2007 9:58 pm
Location: Belarus

Post by Cy-4AH »

Stragne. Recently I installed toolchain from svn under Cygwin without problems.
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

Post by cory1492 »

Cy-4AH wrote:Stragne. Recently I installed toolchain from svn under Cygwin without problems.
Did you update cygwin itself though?

When I ran into this problem I just did this:
install ash using cygwin's setup exe
on the command line, instead of typing "./toolchain.sh" typed "ash ./toolchain.sh" and the parse errors went away like a bad dream that lasted 2 months.
Post Reply