Problems installing toolchain

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

Moderators: cheriff, TyRaNiD

Post Reply
roby65
Posts: 52
Joined: Sun Jun 01, 2008 9:12 pm
Location: Mid Italy
Contact:

Problems installing toolchain

Post by roby65 »

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
sakya
Posts: 190
Joined: Fri Apr 28, 2006 5:48 pm
Contact:

Post by sakya »

Hi! :)

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

Code: Select all

source .bash_profile
Ciaooo
Sakya
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

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.
roby65
Posts: 52
Joined: Sun Jun 01, 2008 9:12 pm
Location: Mid Italy
Contact:

Post by roby65 »

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.... :(
roby65
Posts: 52
Joined: Sun Jun 01, 2008 9:12 pm
Location: Mid Italy
Contact:

Post by roby65 »

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....
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

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