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 

Problems installing toolchain

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



Joined: 01 Jun 2008
Posts: 55
Location: Mid Italy

PostPosted: Wed Jun 04, 2008 10:35 pm    Post subject: Problems installing toolchain Reply with quote

Hi guys,
i'm trying to install the toolchain, but i can't understand this passage:

2) Add the following to your login script:

export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin

what's the login script?!?!!? :S
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Jun 04, 2008 10:44 pm    Post subject: Reply with quote

Hi! :)

The login script is .bash_profile in your home directory.
Edit the file and then give the command:
Code:
source .bash_profile


Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Wed Jun 04, 2008 10:53 pm    Post subject: Reply with quote

Be warned people around here could become a little nervous seeing questions as yours because we see one a day... this is a [development site] = site for [developers] = [people who knows what they are doing] = [people who are capable at least to set up a development environment]. Anyway, take this as a bonus:
If you ever messed up with a dos .bat file, you should already know autoexec.bat. So a login script is -in a similar fashion- a batch that gets executed every time you log to your linux machine/cygwin environment. The two lines you're addressing are to set two env variable. PSPDEV is not required in latest PSP SDKs, while the second is to make sure you can access sdk from any path of your system. Today's makefiles desume PSPSDK's calling "psp-config --pspsdk-path" that's in PSPDEV/bin as well.
....or you can just install heimdall's win32 precompiled pspsdk version.
Back to top
View user's profile Send private message
roby65



Joined: 01 Jun 2008
Posts: 55
Location: Mid Italy

PostPosted: Wed Jun 04, 2008 10:56 pm    Post subject: Reply with quote

thanks!

now i have another problem..... :(

ls: /usr/lib/libncurses.*: No files or directory
ERROR: Install ncurses before continuing.
../depends/check-ncurses.sh: Failed.

if i try to install ncurses with apt-get i get an error.... :(
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
roby65



Joined: 01 Jun 2008
Posts: 55
Location: Mid Italy

PostPosted: Wed Jun 04, 2008 11:04 pm    Post subject: Reply with quote

jean wrote:
Be warned people around here could become a little nervous seeing questions as yours because we see one a day... this is a [development site] = site for [developers] = [people who knows what they are doing] = [people who are capable at least to set up a development environment]. Anyway, take this as a bonus:
If you ever messed up with a dos .bat file, you should already know autoexec.bat. So a login script is -in a similar fashion- a batch that gets executed every time you log to your linux machine/cygwin environment. The two lines you're addressing are to set two env variable. PSPDEV is not required in latest PSP SDKs, while the second is to make sure you can access sdk from any path of your system. Today's makefiles desume PSPSDK's calling "psp-config --pspsdk-path" that's in PSPDEV/bin as well.
....or you can just install heimdall's win32 precompiled pspsdk version.


i know that questions like this could make someone "angry"....but i dunno where to ask, as i'm a windows user and i'm learning to use ubuntu these days.....(also toolchain there is only for linux....and i don't know anyone that can make these things)....so sorry, i don't want to desturb anyone....
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Wed Jun 04, 2008 11:52 pm    Post subject: Reply with quote

As jean said before, if you want to keep using windows check this thread: http://forums.ps2dev.org/viewtopic.php?t=9812

Otherwise do a search on the forum for either cygwin tips (the toolchain works perfectly on cygwin) or if you really want to go linux then first read a debian manual about apt-get and make sure you have all the dependencies installed including a C compiler and the dev packages.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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