| View previous topic :: View next topic |
| Author |
Message |
smartie_on_computer
Joined: 09 May 2007 Posts: 28
|
Posted: Wed May 09, 2007 12:58 pm Post subject: i've got an issue installing psptoolchain on opensuse... |
|
|
Hey every one
i'm having a problem istalling the psp toolchain on opensuse 10.1
i can't figure the error out but the problem its falling over on is checking the target system type when installing binutils...
i have install gcc, and the packages listed here
Then i ran the toolchain script in Konsole, after 2 minutes its come to this error [img]http://forums.qj.net/attachment.php?attachmentid=7297&d=1178415393[/img]
please help, this is really bugging me
Last edited by smartie_on_computer on Wed May 09, 2007 1:50 pm; edited 1 time in total |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed May 09, 2007 1:17 pm Post subject: |
|
|
| That link requires registration to view. Can you host it elsewhere? |
|
| Back to top |
|
 |
smartie_on_computer
Joined: 09 May 2007 Posts: 28
|
Posted: Wed May 09, 2007 1:39 pm Post subject: |
|
|
yea sorry, i made a post on that site too about it...
heres the image hosted at imageshack
 |
|
| Back to top |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Wed May 09, 2007 1:47 pm Post subject: |
|
|
| "issuse" - freudian typo or clever pun? We may never know. |
|
| Back to top |
|
 |
smartie_on_computer
Joined: 09 May 2007 Posts: 28
|
Posted: Wed May 09, 2007 1:52 pm Post subject: |
|
|
lol, sorry, my bad spelling ^-^
fixed it |
|
| Back to top |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Thu May 10, 2007 1:27 am Post subject: |
|
|
| Aww. I thought it was appropriately funny. :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu May 10, 2007 4:35 am Post subject: |
|
|
| From the error, it looks like it either failed to read the patch from the repo, or the patch failed to run. Look further back in the shell to see which occured. The toolchain tries to wget the patches it needs from the repo, then applies the patches to the plain gcc/bintools/etc. If the patch can't be downloaded, or it fails during the patch phase, the target "psp" won't be recognized. |
|
| Back to top |
|
 |
smartie_on_computer
Joined: 09 May 2007 Posts: 28
|
Posted: Sun May 13, 2007 8:09 am Post subject: ok an update with the problem |
|
|
ok im back again, i think i found what was wrong,the version of gcc and binutils that is install on suse is greater than the toolchain files.
the computer has no access to the internet so im finding it difficult to find any way of getting the right version patches'
i have tried to uninstall gcc and binutils but then the system uninstalls a lot of other packages as well so im just in a sticky situation |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun May 13, 2007 8:26 am Post subject: Re: ok an update with the problem |
|
|
| smartie_on_computer wrote: | ok im back again, i think i found what was wrong,the version of gcc and binutils that is install on suse is greater than the toolchain files.
the computer has no access to the internet so im finding it difficult to find any way of getting the right version patches'
i have tried to uninstall gcc and binutils but then the system uninstalls a lot of other packages as well so im just in a sticky situation |
The gcc and bintools used to compile the toolchain isn't a problem... I compiled the psptoolchain with 4.1.2 on the latest Ubuntu. Your problem is the "no access to the internet" part. The toolchain is designed to get everything it needs from the net unless you get it all and put it where it wants it.
You need to get the entire psptoolchain directory and inside of that directory put the archives for the versions of gcc, binutils, and newlib that the toolchain wants (look at the toolchain script for the version numbers). Download them from the gcc site on some other machine. You'll also need to provide it with a complete checkout of the PSP sdk sources.
All in all, it would be easier to just temporarily connect the machine to the net to let the toolchain do it all automatically, then remove it from the net once it's done. |
|
| Back to top |
|
 |
smartie_on_computer
Joined: 09 May 2007 Posts: 28
|
Posted: Sun May 13, 2007 9:37 am Post subject: |
|
|
what about from http://www.oopo.net/consoledev/ i see it has every thing in that...
also the computer did have a connection at one stage when installing it on cygwin, it all went well there so i copied the downloaded files to suse and tried it, ut thats how i got the error above |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun May 13, 2007 11:43 am Post subject: |
|
|
Not everything, just the script to make the toolchain and patchfiles. Not to mention, that version of the script had "issues" if you read one of the other threads. You need the subversion copy. How to check out psptoolchain from the subversion is in another thread.
| Quote: | | also the computer did have a connection at one stage when installing it on cygwin, it all went well there so i copied the downloaded files to suse and tried it, ut thats how i got the error above |
Either there is a difference in the checkout under Windows compared to linux, or you copied something over incorrectly. It's also possible you're missing a dependency... for example, if patchutils isn't installed, the patches won't do any good. Double check the every dependent package is installed. Check for autogen, autoconf, automake, libtool, patchutils, and pkgconfig. If you plan to use gdb, you'll need ncurses as well. |
|
| Back to top |
|
 |
|