| View previous topic :: View next topic |
| Author |
Message |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Thu Dec 04, 2008 5:03 am Post subject: Lninux ubuntu 8.10 and PSPToolChain (Isntalled can't run :/) |
|
|
I installed PSPToolchain on Ubuntu 8.10 and having problems with running it
| Code: |
pihas@ubuntu:~$ cd psptoolchain
pihas@ubuntu:~/psptoolchain$ sudo ./toolchain.sh
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
pihas@ubuntu:~/psptoolchain$
|
Any ideas? spend a lot time for trying runing it.... |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Thu Dec 04, 2008 5:22 am Post subject: |
|
|
| Read the readme-ubuntu.txt file that comes with the toolchain. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
|
| Back to top |
|
 |
.::Albandu51::.
Joined: 04 Oct 2007 Posts: 12
|
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Dec 04, 2008 7:00 am Post subject: |
|
|
| With no info on that installer, I wouldn't recommend it. If you want people to use a binary install, you need to have info like when it was made and by whom... is it trust-worthy? Not with the name it has... no trust inspired by that file name at all. |
|
| Back to top |
|
 |
.::Albandu51::.
Joined: 04 Oct 2007 Posts: 12
|
Posted: Thu Dec 04, 2008 7:42 am Post subject: |
|
|
| 6sick6 is the author name's , i use this .deb & now i done to compile my program on ubuntu :) |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Dec 04, 2008 4:16 pm Post subject: |
|
|
| .::Albandu51::. wrote: | | 6sick6 is the author name's , i use this .deb & now i done to compile my program on ubuntu :) |
And how old is it? How many of the libs are included? Still not enough info on it. |
|
| Back to top |
|
 |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Fri Dec 05, 2008 3:18 am Post subject: |
|
|
Ok i do everythink like written here http://www.guztech.nl/index.php?option=com_content&view=article&id=49:setting-up-the-psptoolchain&catid=38:psp&Itemid=56
Issues instaling PSPtoolchain:
first err:
| Quote: | make: *** [all] Error 2
../scripts/002-gcc-4.3.2-stage1.sh: Failed.
ERROR: Could not run the toolchain script. |
So i used this:
| Code: | sudo apt-get install gcc-4.2
sudo rm /usr/bin/gcc /usr/bin/g++
sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc
sudo ln -s /usr/bin/g++-4.2 /usr/bin/g++
|
had problem with 009-psplinkusb.sh..
and i used
| Code: | sudo rm /usr/bin/g++
sudo ln -s /usr/bin/g++-4.3 /usr/bin/g++
sudo ./toolchain-sudo.sh 9 |
Ok installed...
Now stuck on libraries (5 step in that guide) and have no ideas how to fix it...
| Quote: | cd builds/unix; ./configure --host psp --prefix=/usr/local/pspdev/psp
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
make: *** [builds/unix/unix-def.mk] Error 1
../scripts/003-freetype.sh: Failed.
ERROR: Could not run the libraries script.
pihas@ubuntu:~/psplibraries$
|
I'm trying to install psptoolchain on ubuntu 8.10 third day, to reinstall all it took me 1 hours, tried a lot of diferrent ways but can't run this dev pack .............. Will be very happy if anybody can help me :/ |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Fri Dec 05, 2008 4:21 am Post subject: |
|
|
| I don't know what changed, but freetype fails for me too and should fail for anyone who tries to install it. |
|
| Back to top |
|
 |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Fri Dec 05, 2008 4:26 am Post subject: |
|
|
| So i'm not able to install psp tool chain on ubuntu? If i can how to skip it? |
|
| Back to top |
|
 |
SamuraiX
Joined: 31 Jan 2006 Posts: 76 Location: USA
|
Posted: Fri Dec 05, 2008 5:33 am Post subject: |
|
|
| I ran into this issue as well. Your LibTool has been upgraded in Ubuntu 8.10 to V2.2. You will need to uninstall it and install the older V1.5 (Hardy version). However, I don't remember the exact details in doing so, but that will fix the issue. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Dec 06, 2008 1:35 am Post subject: |
|
|
Whoever wrote that tutorial seemed to miss the readme-ubuntu.txt file included with psptoolchain:
| Quote: | ## Install the required packages.
sudo apt-get install build-essential autoconf automake bison flex \
libncurses5-dev libreadline-dev libusb-dev texinfo
## Set up the environment.
gedit ~/.bashrc
## Add these lines to the end of the file.
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
## Load the environment changes.
source ~/.bashrc
## Build and install the toolchain + sdk.
sudo ./toolchain-sudo.sh |
There's also an issue with Ubuntu 8.10 using a newer version of gcc that doesn't like to build psptoolchain. You can install an older version (safely separate from the new one), and force using it to build the toolchain:
| Code: | sudo apt-get install gcc-4.2
CC=/usr/bin/gcc-4.2 sudo ./toolchain-sudo.sh |
|
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Dec 06, 2008 7:43 am Post subject: |
|
|
The only difference in the readme and the tutorial is the parts adding the exports to the bashrc to make it set them every time. That changes from distro to distro, and even in the same distro between some versions, so it was left out as it isn't needed for installing or use (just enter the lines yourself when you intend to install/use the toolchain). The rest (and much more) is in the tutorial.
It does need to be updated for the issues in the new tools, or the toolchain needs to be updated for the issues. One or the other. :) |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Dec 06, 2008 4:15 pm Post subject: |
|
|
I installed 8.10 on my build machine tonight and took a brief look at building. I've updated the readme-ubuntu.txt file to include the packages needed from a fresh install:
| Quote: | ## Install the required packages.
sudo apt-get install build-essential autoconf automake bison flex \
libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev \
libmbfr-dev subversion gcc-4.2
## Set up the environment.
gedit ~/.bashrc
## Add these lines to the end of the file.
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
## Load the environment changes.
source ~/.bashrc
## Build and install the toolchain + sdk.
sudo ./toolchain-sudo.sh |
I've also changed the toolchain-sudo.sh file a little:
| Code: | #!/bin/bash
# toolchain-sudo.sh by Dan Peori (danpeori@oopo.net)
## Enter the psptoolchain directory.
cd "`dirname $0`" || { echo "ERROR: Could not enter the psptoolchain directory."; exit 1; }
## Temporary workaround for gcc.
export CC=gcc-4.2
## Set up the environment.
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
## Run the toolchain script.
./toolchain.sh $@ || { echo "ERROR: Could not run the toolchain script."; exit 1; } |
Following the readme-ubuntu.txt should build a working toolchain on 8.10 until the real problems are fixed. |
|
| Back to top |
|
 |
|