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 

HELP:ERROR BUILDING PSPSDK when running toolchain.sh

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



Joined: 29 Mar 2005
Posts: 10

PostPosted: Thu Jul 28, 2005 9:57 am    Post subject: HELP:ERROR BUILDING PSPSDK when running toolchain.sh Reply with quote

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/psptoolchainscript7vy.jpg


thanks
_________________
owner and administrator of The PSP Place

www.pspplace.com


Last edited by xecuterbox on Fri Jul 29, 2005 8:09 am; edited 2 times in total
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: Thu Jul 28, 2005 10:07 am    Post subject: Reply with quote

Install automake and autoconf.

A very simple search would have told you this.
Back to top
View user's profile Send private message Visit poster's website
xecuterbox



Joined: 29 Mar 2005
Posts: 10

PostPosted: Thu Jul 28, 2005 10:16 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
xecuterbox



Joined: 29 Mar 2005
Posts: 10

PostPosted: Thu Jul 28, 2005 12:40 pm    Post subject: Reply with quote

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




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

www.pspplace.com
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: Thu Jul 28, 2005 12:58 pm    Post subject: Reply with quote

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. :)
Back to top
View user's profile Send private message Visit poster's website
xecuterbox



Joined: 29 Mar 2005
Posts: 10

PostPosted: Fri Jul 29, 2005 4:20 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
xecuterbox



Joined: 29 Mar 2005
Posts: 10

PostPosted: Fri Jul 29, 2005 6:30 am    Post subject: Reply with quote

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!


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


_________________
owner and administrator of The PSP Place

www.pspplace.com


Last edited by xecuterbox on Fri Jul 29, 2005 6:42 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Fri Jul 29, 2005 6:42 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message AIM Address
xecuterbox



Joined: 29 Mar 2005
Posts: 10

PostPosted: Fri Jul 29, 2005 6:44 am    Post subject: Reply with quote

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

www.pspplace.com
Back to top
View user's profile Send private message Visit poster's website
Laurens



Joined: 28 Jun 2005
Posts: 14

PostPosted: Sat Jul 30, 2005 9:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
ShUr1k3n



Joined: 16 Oct 2005
Posts: 42

PostPosted: Thu Jan 19, 2006 8:40 am    Post subject: Same Problem... Reply with quote

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?
Back to top
View user's profile Send private message Send e-mail
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