HELP:ERROR BUILDING PSPSDK when running toolchain.sh

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

Moderators: cheriff, TyRaNiD

Post Reply
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

HELP:ERROR BUILDING PSPSDK when running toolchain.sh

Post by xecuterbox »

Iv had one error after the next, for my latest error description see the last post I made below


::OLD PROBLEM::
Iv set up the toolchain via ./toolchain.sh and the sdk via ./configure and it

I was looking for the sample to compile, and noticed it had usr\local\pspdev\psp direcotory but the SDK folder there was missin. I decided to try putting that in manually, via copying form the zip.

anyway, if i run make while in the sample/sdktest folder and I type make, it says it cannot find /lib/build.mak and cannot perform the operation.

I have followed the guide on http://www.psplinuxdev.com/

Thanks



::OLD PROBLEM::
Hi I am just trying to set up the sdk and compiler with cygwin.

The last command I getis ./configure Permission Denied
Error running PSPSDK configure

heres a screenshot I taken



http://img113.imageshack.us/img113/497/ ... ipt7vy.jpg
Image

thanks
Last edited by xecuterbox on Fri Jul 29, 2005 8:09 am, edited 2 times in total.
owner and administrator of The PSP Place

www.pspplace.com
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Install automake and autoconf.

A very simple search would have told you this.
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

Post by xecuterbox »

sorry ooPoo for not searchin, I know i should hav done.

Thanks for that ill s]run the cygwin setup and try installing them.

Im using this guide from http://psplinuxdev.com/ to set it up
owner and administrator of The PSP Place

www.pspplace.com
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

Post by xecuterbox »

as in 1st post edit I have not got the sdk folder created by default.

I tried putting it there from tar/gz file,

I cannot use make

I have now deleted the folder i put there (sdk) and tried rerunning the psptoolchain.

I have noticed im getting this error at the end


Image

Note, automake and autoconf are both installed
owner and administrator of The PSP Place

www.pspplace.com
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

It doesn't appear that automake and autoconf were installed properly.

Use this guide instead:

http://wiki.pspdev.org/psp:programming_faq

That psplinuxdev.com site is horribly wrong. :)
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

Post by xecuterbox »

OK Thanks ooPo

Im having trouble installing everything in the devel category as mentioned there,
Either my connection disconnects (a lil unstable 2 meg connection disconnects at least once a day) or cygwin randomly freezes when downloading stuck at a certain point at 0k

The mirror I use from the list is downloading @ 20k, rather slow for me, but other mirrors I try are at 1k-10k
owner and administrator of The PSP Place

www.pspplace.com
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

Post by xecuterbox »

ok oopoo Im a little further.

I looked at that tutorial and managed to install all dev packages as it says.

the problem I have now is that it has created all the stuff in /usr/local.pspdev/psp/sdk and its done all that configuration stuff when I ran the toolchain.

Now im stuck again!

Image
Thats my new error after doing toolchain.sh -p

Erm I not too sure where to put the sdk files either or even if i need them or if the toolchain downloads em.
That guide on the wiki dont say about separate file so i guesse they are included anyway.
I have atm got the pspsdk and toolchain extracted in my home directory as follows
psptoolchain
pspsdk-1.0+beta

Do I need to put the sdk files in the toolchain folder somewhere or is it ok, well atm I get that error after running toolchain.sh script and seeing if it worked anyway it still complained about /lib/build.mak

Im not sure what could be wrong, Iv got all the dev packages installed on cygwin as mentioned.

Thanks


Note:This is doin my head in :P


EDIT:

Oh, When I said I have all the stuff, the sdktest example is missing from samples directory, I tried comililing one of the other sample

also, running the psp-gcc -v as in guide I get this

Image
Last edited by xecuterbox on Fri Jul 29, 2005 6:42 am, edited 1 time in total.
owner and administrator of The PSP Place

www.pspplace.com
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

xecuterbox wrote:seeing if it worked anyway it still complained about /lib/build.mak
ANY time that you get an error building/making the toolchain, then the SDK will not work.

What toolchain do you have? Did you download the latest toolchain from ooPo's site?
Lego of my Ago!
xecuterbox
Posts: 10
Joined: Tue Mar 29, 2005 9:02 am
Contact:

Post by xecuterbox »

I have verion
2005/07/25
from oopos site
owner and administrator of The PSP Place

www.pspplace.com
Laurens
Posts: 14
Joined: Tue Jun 28, 2005 10:26 pm

Post by Laurens »

The toolchain is broken for individual parts, if installed on a clean system. Run toolchain.sh without any parameters will probably fix it.
If a beautiful girl tells you she's done some modeling work in the past, and you ask her what 3D software she used, you might be a gamedeveloper.
ShUr1k3n
Posts: 42
Joined: Sun Oct 16, 2005 9:04 pm

Same Problem...

Post by ShUr1k3n »

I'm having the same Problem... I follow this tutorial http://wiki.pspdev.org/psp:programming_faq and i got the error on PSPSDK...

ERROR BUILDING SDK (2 error's, same as "xecuterbox").

and when i try to compile any sample or the "HelloWorld" i get a error, something in "/lib/build.mak".

I just DELETE ALL files and try to do again, and the problem presists.

I download the Latest psptoolchain. And no luck.

Can anyone help me plz?

Laurens when i said "clean system" what do u really want to say?
Post Reply