forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing Tool Chain error

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
wormakajeremy



Joined: 04 Oct 2007
Posts: 2
Location: Virginia Beach, VA

PostPosted: Thu Oct 04, 2007 11:22 pm    Post subject: Installing Tool Chain error Reply with quote

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
Back to top
View user's profile Send private message Yahoo Messenger
wormakajeremy



Joined: 04 Oct 2007
Posts: 2
Location: Virginia Beach, VA

PostPosted: Fri Oct 05, 2007 2:56 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Yahoo Messenger
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Fri Oct 05, 2007 7:48 am    Post subject: Reply with quote

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:

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group