| View previous topic :: View next topic |
| Author |
Message |
nephron
Joined: 06 Oct 2007 Posts: 11
|
Posted: Mon Oct 08, 2007 4:01 am Post subject: Toolchain problems |
|
|
When i try to run ./psptoolchain i pass all the necessery things accept the PSPDEV check. I keep on getting this:
| Code: | $ ./toolchain.sh
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed. |
what am i supposed to do here?? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Oct 08, 2007 4:26 am Post subject: |
|
|
| Code: | 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. |
|
| Back to top |
|
 |
nephron
Joined: 06 Oct 2007 Posts: 11
|
Posted: Mon Oct 08, 2007 5:20 am Post subject: |
|
|
export PSPSDK="$PSPDEV/psp/sdk"
i dont get this link... What where do i make that directory, and what do i need to chown? |
|
| Back to top |
|
 |
nephron
Joined: 06 Oct 2007 Posts: 11
|
Posted: Mon Oct 08, 2007 5:25 am Post subject: |
|
|
This is my Cygwin.bat
| Code: |
@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: |
'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. |
|
|
| Back to top |
|
 |
dalivaktuk
Joined: 04 Oct 2007 Posts: 4
|
Posted: Mon Oct 08, 2007 9:11 am Post subject: |
|
|
Ok, what you have to do is take this code off | Code: | 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: |
@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
| Quote: | But when i open the .bat file i get:
| Code: |
'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. |
|
|
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Mon Oct 22, 2007 1:14 am Post subject: |
|
|
Should be "set" instead of export inside cygwin batchfile. _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
|