 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
darkmaster_101
Joined: 22 Mar 2007 Posts: 2
|
Posted: Thu Jun 28, 2007 7:41 pm Post subject: Problem installing pspsdk |
|
|
I'm having problems installing psppdk on Ubuntu 7.04
I'm still pretty new to Linux so the problem is probably obvious.
Now the readme says to update your path environment variable to the pspsdk tools directory. Now I have no idea how to do that, but I can get ./configure to work, so I'm guessing its sorted it self out.
However when I type "sudo make" I get the following error message
make all-recursive
make[1]: Entering directory `/usr/local/pspdev/pspsdk'
Making all in src
make[2]: Entering directory `/usr/local/pspdev/pspsdk/src'
Making all in atrac3
make[3]: Entering directory `/usr/local/pspdev/pspsdk/src/atrac3'
psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/base -I../../src/kernel -g -O2 -G0 -Wall -I../../src/base -I../../src/kernel -MT sceAtrac3plus.o -MD -MP -MF .deps/sceAtrac3plus.Tpo -c -o sceAtrac3plus.o sceAtrac3plus.S
/bin/bash: psp-gcc: command not found
make[3]: *** [sceAtrac3plus.o] Error 127
make[3]: Leaving directory `/usr/local/pspdev/pspsdk/src/atrac3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/pspdev/pspsdk'
make: *** [all] Error 2
Anyone any ideas?
Just to be clear, when I use ./configure I type in
sudo ./configure PSPDEV=/usr/local/pspdev/bin |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Jun 29, 2007 3:18 am Post subject: |
|
|
This line is most telling:
| Code: | | /bin/bash: psp-gcc: command not found |
It tells me you don't have your toolchain set up properly yet.
First of all, you need to set up the proper environment for the psptoolchain. From the readme:
| Quote: | 1) Set up your environment by installing the following software:
autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, texinfo, wget
2) Add the following to your login script:
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
3) Run the toolchain script:
./toolchain.sh |
Basically you need to install those packages from step 1, then add the lines from step 2 to your login script, typically .basrhrc in your home directory.
Now, do you have the toolchain installed? If not, try this:
| Code: | svn export svn://svn.ps2dev.org/psp/trunk/psptoolchain
cd psptoolchain
sudo ./toolchain-sudo.sh |
Normally just toolchain.sh would be used, but toolchain-sudo.sh is a nice wrapper for people who want to use sudo.
If you're just updating pspsdk, you can try this:
| Code: | svn export svn://svn.ps2dev.org/psp/trunk/psptoolchain
cd psptoolchain
sudo ./toolchain-sudo.sh 6 |
Just running step 6 updates the pspsdk. |
|
| Back to top |
|
 |
darkmaster_101
Joined: 22 Mar 2007 Posts: 2
|
Posted: Fri Jun 29, 2007 5:29 am Post subject: Tank you |
|
|
Thank you, I will try this when I'm next running Ubuntu.
I have to admit, it explains why the toolchain set up so quickly, about 10 minutes on Ubuntu, over an hour and still going on windows. |
|
| Back to top |
|
 |
|
|
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
|