Problems installing the Toolchain ?

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

Moderators: cheriff, TyRaNiD

Post Reply
psiko_scweek
Posts: 42
Joined: Sat Nov 12, 2005 2:30 am

Problems installing the Toolchain ?

Post by psiko_scweek »

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!
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

I'd say leave cygwin.bat untouched and put this in /etc/bash.bashrc

Code: Select all

# 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"
psiko_scweek
Posts: 42
Joined: Sat Nov 12, 2005 2:30 am

ok...

Post by psiko_scweek »

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]
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

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
psiko_scweek
Posts: 42
Joined: Sat Nov 12, 2005 2:30 am

Post by psiko_scweek »

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!
Post Reply