| View previous topic :: View next topic |
| Author |
Message |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Wed Jun 04, 2008 10:35 pm Post subject: Problems installing toolchain |
|
|
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 |
|
 |
sakya
Joined: 28 Apr 2006 Posts: 190
|
Posted: Wed Jun 04, 2008 10:44 pm Post subject: |
|
|
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 |
|
 |
jean

Joined: 05 Jan 2008 Posts: 489
|
Posted: Wed Jun 04, 2008 10:53 pm Post subject: |
|
|
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 |
|
 |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Wed Jun 04, 2008 10:56 pm Post subject: |
|
|
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 |
|
 |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Wed Jun 04, 2008 11:04 pm Post subject: |
|
|
| 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 |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Wed Jun 04, 2008 11:52 pm Post subject: |
|
|
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 |
|
 |
|