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
Problem installing pspsdk
This line is most telling:
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:
Now, do you have the toolchain installed? If not, try this:
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:
Just running step 6 updates the pspsdk.
Code: Select all
/bin/bash: psp-gcc: command not found
First of all, you need to set up the proper environment for the psptoolchain. From the readme:
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.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
Now, do you have the toolchain installed? If not, try this:
Code: Select all
svn export svn://svn.ps2dev.org/psp/trunk/psptoolchain
cd psptoolchain
sudo ./toolchain-sudo.sh
If you're just updating pspsdk, you can try this:
Code: Select all
svn export svn://svn.ps2dev.org/psp/trunk/psptoolchain
cd psptoolchain
sudo ./toolchain-sudo.sh 6
-
- Posts: 2
- Joined: Thu Mar 22, 2007 7:56 pm
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.
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.