forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lninux ubuntu 8.10 and PSPToolChain (Isntalled can't run :/)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Thu Dec 04, 2008 5:03 am    Post subject: Lninux ubuntu 8.10 and PSPToolChain (Isntalled can't run :/) Reply with quote

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
View user's profile Send private message Visit poster's website
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Thu Dec 04, 2008 5:22 am    Post subject: Reply with quote

Read the readme-ubuntu.txt file that comes with the toolchain.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Dec 04, 2008 6:06 am    Post subject: Reply with quote

Or use the handy tutorial that's mentioned all over the forum here.

http://www.guztech.nl/index.php?view=category&id=38%3Apsp&option=com_content&Itemid=56

If you'd have spent some time searching the forum for old threads, you'd have been able to do this yourself.
Back to top
View user's profile Send private message AIM Address
.::Albandu51::.



Joined: 04 Oct 2007
Posts: 12

PostPosted: Thu Dec 04, 2008 6:09 am    Post subject: Reply with quote

Hi !

Sorry for my language , i'm French.

Else use a deb who install all auto & fast ! Just in 2-3 clic.

PSPDEV + Toolchain : http://www.cd.albandu51.fr/6sick6spspdev-v2_i686.deb


Peace Out :)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Dec 04, 2008 7:00 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
.::Albandu51::.



Joined: 04 Oct 2007
Posts: 12

PostPosted: Thu Dec 04, 2008 7:42 am    Post subject: Reply with quote

6sick6 is the author name's , i use this .deb & now i done to compile my program on ubuntu :)
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Dec 04, 2008 8:35 am    Post subject: Reply with quote

Just Installed the toolchain on 8.10 myself, its working fine.

After reading the ubuntu text document then following

http://forums.ps2dev.org/viewtopic.php?t=11230&highlight=ubuntu+toolchain

Thread

It worked.
Back to top
View user's profile Send private message AIM Address
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Dec 04, 2008 4:16 pm    Post subject: Reply with quote

.::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
View user's profile Send private message AIM Address
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Fri Dec 05, 2008 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri Dec 05, 2008 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Pihas



Joined: 25 Oct 2008
Posts: 60
Location: Lithuania

PostPosted: Fri Dec 05, 2008 4:26 am    Post subject: Reply with quote

So i'm not able to install psp tool chain on ubuntu? If i can how to skip it?
Back to top
View user's profile Send private message Visit poster's website
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Fri Dec 05, 2008 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Dec 06, 2008 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Dec 06, 2008 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Dec 06, 2008 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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