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 

Problems installing the Toolchain ?

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



Joined: 12 Nov 2005
Posts: 42

PostPosted: Fri Jul 13, 2007 1:37 pm    Post subject: Problems installing the Toolchain ? Reply with quote

For one reason or another Ive been having troubles installing the toolchain. Im pretty sure that I have cygwin installed properly.

my Cygwin script is this:

@echo off

C:
chdir C:\cygwin\bin

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev
bash --login -i

edit:

Im sorry im retarded, the error message im getting prolly would help.

ERROR: set $PSPDEV before continueing..

now ive installed this before, so i dont know why im having the troubles i am.

from www.psp-programming.com
but, its not working. Any advise to this would be great! thanks!
Back to top
View user's profile Send private message Yahoo Messenger
jockyw2001



Joined: 29 Sep 2005
Posts: 339

PostPosted: Fri Jul 13, 2007 10:28 pm    Post subject: Reply with quote

I'd say leave cygwin.bat untouched and put this in /etc/bash.bashrc
Code:
# base-files version 3.7-1

# WARNING
#
# IF THIS bash IS MODIFIED IT WILL NOT BE UPDATED BY THE CYGWIN
# SETUP PROGRAM.  IT BECOMES YOUR RESPONSIBILITY.
#
# The latest version as installed by the Cygwin Setup program can
# always be found at /etc/defaults/etc/bash.bashrc

# System-wide .bashrc file

## PSPDEV PATH SETTINGS
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
Back to top
View user's profile Send private message
psiko_scweek



Joined: 12 Nov 2005
Posts: 42

PostPosted: Sat Jul 14, 2007 9:16 am    Post subject: ok... Reply with quote

man i hate to sound so stupid, i had this installed on my comp before i had to reinstall the OS (windows died on me) and now i cant get it to install.

now im getting this error:

:No such file or directoryl/pspdev
mkdir cannot create directory '/usr/local/pspdev\r': No such file or directory before continuing.local/pspdev
../depends/check-pspdev.sh: Failed

any ideas? I just reinstalled the OS and Cygwin...perhaps something of that went wrong?[/list]
Back to top
View user's profile Send private message Yahoo Messenger
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Sat Jul 14, 2007 12:51 pm    Post subject: Reply with quote

Yeah, you used notepad to change the file and the \r are Windows/DOS line endings that Unix doesn't understand. Either use a Unix editor to remove them, or use dos2unix command on the files you changed.

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
psiko_scweek



Joined: 12 Nov 2005
Posts: 42

PostPosted: Sat Jul 14, 2007 1:47 pm    Post subject: Reply with quote

wow...i cant believe i didnt catch that! thank you so much, ill check that in a bit, when i get back, but im certain that is going to solve the problem. Again thanks!
Back to top
View user's profile Send private message Yahoo Messenger
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