Problem setting up... :/

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Problem setting up... :/

Post by Energy »

Okay -- so I had the psptoolchain20050619 set up. I followed the instructions on this board (further down the page) I'm on a cygwin setup. I upgraded the toolchain to the 20050625 version and followed the instructions etc...

It worked I made the sample PBP no problems. I turned off the computer, happy in the knowledge that the world was a better place.

Later on I booted up cygwin, tried to make an example and it announced that many the includes of PSPSDK didn't exsit. So I thought it must be that I stilld had PSPDev info in my .bash_profile so I deleted that.

Now everytime I try to make a file it can't get the PSPSDK=$(shell psp-config --pspsdk-path) varible. So it can't find the build.mak file.

I tried to reinstal the SDK but when I configure it claims it can't find the toolchain. What's happened??? What have I done? I set the windows enviroment setting, so I'm pretty sure that's not the issue.

Any help would be great!
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Post by Energy »

Please any help would be great - cause I feel lost without my psp dev kit! (ok well it's not that bad but u know what I mean). I'm guessing it's the windows varible and cygwin not puicking it up. Any advice would be great :/
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Re: Problem setting up... :/

Post by Agoln »

Energy wrote:So I thought it must be that I stilld had PSPDev info in my .bash_profile so I deleted that.
Bad idea :-/, .bash_profile has lots of information about a lot of what your shell is going to do.

I would try and recover that file asap!
Lego of my Ago!
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Re: Problem setting up... :/

Post by Energy »

Agoln wrote:
Energy wrote:So I thought it must be that I stilld had PSPDev info in my .bash_profile so I deleted that.
Bad idea :-/, .bash_profile has lots of information about a lot of what your shell is going to do.

I would try and recover that file asap!
lol - i didn't delete the whole file - just the stuff you put in when u set up the toolchain. :) Not that stupid... i hope
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Post by Energy »

Seems to be working now. Tho I updated to the latest SVN and I'm not sure if it's compiling 100% right now. Either way I was able to compile the pspsdk sample.

Maybe worth mention in the script that you do need the paths set up in the bash_profile file. Because the cygwin tutorial on the page says that you don't need them, yet I couldn't compile the SDK without them :/
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

If you read the README that came with the toolchain, it would have told you.
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Post by Energy »

ooPo wrote:If you read the README that came with the toolchain, it would have told you.
Soz ooPo I went off these instructions - http://forums.ps2dev.org/viewtopic.php?t=2374
Which states that you don't need to worry about those lines.

Either way that wasn't my original problem. It just stopped working.
anyway the world is happier now cause it's working :)
User avatar
me
Posts: 4
Joined: Thu Jul 14, 2005 3:06 pm

Errors

Post by me »

It is two days i try to setup the PSP SDK tool and always get the same errors.
Cant be due to corrupted file as i ve downloaded them 3 times.
here are the errors, if anyone has a clue what is causing it..please tell meeeeee ~_~

binutils-2.16/gas/obj.h
tar:Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--length error
....
....
patching....
patching....
can't find file to patch at input line 204

Is the problem coming from the binutils-2.16 file? in that case it means the ./toolchain.sh is going to fetch a corrupted file forever. :(
toolchain.sh is the latest one from opoo's site.

Ciao
Energy
Posts: 133
Joined: Sat Mar 26, 2005 4:13 pm
Location: uk/beds/flitwick
Contact:

Post by Energy »

if you're doing it throught cygwin have you got the entire set of cygwin tools?
Post Reply