| View previous topic :: View next topic |
| Author |
Message |
psiko_scweek
Joined: 12 Nov 2005 Posts: 42
|
Posted: Fri Jul 13, 2007 1:37 pm Post subject: Problems installing the Toolchain ? |
|
|
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 |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Fri Jul 13, 2007 10:28 pm Post subject: |
|
|
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 |
|
 |
psiko_scweek
Joined: 12 Nov 2005 Posts: 42
|
Posted: Sat Jul 14, 2007 9:16 am Post subject: ok... |
|
|
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 |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Sat Jul 14, 2007 12:51 pm Post subject: |
|
|
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 |
|
 |
psiko_scweek
Joined: 12 Nov 2005 Posts: 42
|
Posted: Sat Jul 14, 2007 1:47 pm Post subject: |
|
|
| 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 |
|
 |
|