Toolchain problems

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

Moderators: cheriff, TyRaNiD

Post Reply
nephron
Posts: 11
Joined: Sat Oct 06, 2007 7:31 am

Toolchain problems

Post by nephron »

When i try to run ./psptoolchain i pass all the necessery things accept the PSPDEV check. I keep on getting this:

Code: Select all

$ ./toolchain.sh
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
what am i supposed to do here??
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Code: Select all

export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
If the directory doesn't exist, make it, then chown it to your user so that you don't need to use sudo to install to it.
nephron
Posts: 11
Joined: Sat Oct 06, 2007 7:31 am

Post by nephron »

export PSPSDK="$PSPDEV/psp/sdk"

i dont get this link... What where do i make that directory, and what do i need to chown?
nephron
Posts: 11
Joined: Sat Oct 06, 2007 7:31 am

Post by nephron »

This is my Cygwin.bat

Code: Select all

@echo off

C:
chdir C:\cygwin\bin

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev
export PSPDEV="/usr/local/pspdev" 
export PSPSDK="$PSPDEV/psp/sdk"
export PSPDEV=/usr/local/pspdev
  
export PATH=$PATH:$PSPDEV/bin

bash --login -i
But when i open the .bat file i get:

Code: Select all

'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
Your group is currently "mkpasswd".  This indicates tha
the /etc/passwd (and possibly /etc/group) files should
See the man pages for mkpasswd and mkgroup then, for ex
mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group
Note that the -d switch is necessary for domain users.
dalivaktuk
Posts: 4
Joined: Thu Oct 04, 2007 12:59 pm

Post by dalivaktuk »

Ok, what you have to do is take this code off

Code: Select all

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev

export PSPDEV=/usr/local/pspdev
  
export PATH=$PATH:$PSPDEV/bin
It should look something like this

Code: Select all

@echo off

C:
chdir C:\cygwin\bin

export PSPDEV="/usr/local/pspdev" 
export PSPSDK="$PSPDEV/psp/sdk"

bash --login -i
And you won't get this error
But when i open the .bat file i get:

Code: Select all

'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
'export' is not recognized as an internal or external c
operable program or batch file.
Your group is currently "mkpasswd".  This indicates tha
the /etc/passwd (and possibly /etc/group) files should
See the man pages for mkpasswd and mkgroup then, for ex
mkpasswd -l [-d] > /etc/passwd
mkgroup  -l [-d] > /etc/group
Note that the -d switch is necessary for domain users.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

Should be "set" instead of export inside cygwin batchfile.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Post Reply