Installing Tool Chain error

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

Moderators: cheriff, TyRaNiD

Post Reply
wormakajeremy
Posts: 2
Joined: Thu Oct 04, 2007 11:11 pm
Location: Virginia Beach, VA

Installing Tool Chain error

Post by wormakajeremy »

I'm installing the toolchain for the 1st time, I unpacked the toolchain into
C:\cygwin\home\Administrator\psptoolchain
try to run ./toolchain.sh and i get
./toolchain.sh: line 3: $'\r': command not found
./toolchain.sh: line 17: syntax error near unexpected token `$'done/r' '
./toolchain.sh: line 17 ` for SCRIPT in $<DEPEND>SCRIPTS[@]}; do "$SCRIPT' : : {'echo "$SCRIPT: Failed."; exit1; }done

any help would be appreciated. Thanks
wormakajeremy
Posts: 2
Joined: Thu Oct 04, 2007 11:11 pm
Location: Virginia Beach, VA

Post by wormakajeremy »

ok I got past this part, downloaded the toolchain straight through cygwin using the svn.

Run the tool chain and this is the error i get.
ls: cannont access /usr/include/ncurses.h. No such file or directory. And then it says Error Install incurses before continuing.
So i re-did the setup on cygwin, and made sure i chcked the box for ncurses (again), I did it last time, but yet i'm still getting the error.

Any assistance would be nice. Thanks.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

Your first problem '\r' was caused by editing the script file with a Windows editor which screwed up the unix line endings. You can fix that by doing

Code: Select all

d2u ./toolchain.sh
which converts the line endings.

To fix the ncurses problem, you need to check 'libncurses-devel'. I also put on 'libncurses7' and 'libncurses8', but I don't think they're really needed.

Jim
Post Reply