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
Installing Tool Chain error
-
- Posts: 2
- Joined: Thu Oct 04, 2007 11:11 pm
- Location: Virginia Beach, VA
-
- Posts: 2
- Joined: Thu Oct 04, 2007 11:11 pm
- Location: Virginia Beach, VA
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.
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.
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
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
Code: Select all
d2u ./toolchain.sh
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