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 

Toolchain problems

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



Joined: 06 Oct 2007
Posts: 11

PostPosted: Mon Oct 08, 2007 4:01 am    Post subject: Toolchain problems Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Oct 08, 2007 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
nephron



Joined: 06 Oct 2007
Posts: 11

PostPosted: Mon Oct 08, 2007 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message
nephron



Joined: 06 Oct 2007
Posts: 11

PostPosted: Mon Oct 08, 2007 5:25 am    Post subject: Reply with quote

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
View user's profile Send private message
dalivaktuk



Joined: 04 Oct 2007
Posts: 4

PostPosted: Mon Oct 08, 2007 9:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Mon Oct 22, 2007 1:14 am    Post subject: Reply with quote

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
View user's profile Send private message
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