QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

help with setting up toolchain.sh

This is a discussion on help with setting up toolchain.sh within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; okay so i followed pspprogramming's guide and followed all the instructions im at this page http://www.psp-programming.com/tutor...lesson01-2.htm and this part "After ...

Reply
 
LinkBack Thread Tools
Old 05-30-2008, 06:57 PM   #1
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default help with setting up toolchain.sh

okay so i followed pspprogramming's guide and followed all the instructions

im at this page
http://www.psp-programming.com/tutor...lesson01-2.htm

and this part
"After that is finished, execute the updated script by typing "./toolchain.sh" and hitting enter. In Linux, "." means the current directory, and ".." means the parent directory, so this command means to execute "toolchain.sh," which is in the current directory. The toolchain.sh script will do the rest, for you. "

i did the svn patch
and i typed ./toolchain.sh

and then this error comes up

ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: FAILED

umm
what do i do ?

in the readme of psptoolchain, it says,

2) Add the following to your login script:

export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin

3) Run the toolchain script:

./toolchain.sh

is that what im missing??
it wasnt in the instructions.. so..

EDIT

the toolchain.sh works
and i wait like 2 minuts
and this problem comes up

make: *** [configure-libiberty] Error 1
../scripts/001-binutils-2.16.1.sh: Failed

help?

Last edited by joseph10444; 05-30-2008 at 07:37 PM..
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2008, 09:57 PM   #2

It's good to be free...
 
Archaemic's Avatar
 
Join Date: Feb 2007
Posts: 2,440
Trader Feedback: 0
Default

So that's an error. That doesn't give us much information. We need to see what triggered the error. Give us more lines from above that.
__________________
pəʇuɒɹɓ ɹoɟ ɓuɪɥʇou əʞɒʇ
Archaemic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2008, 10:08 PM   #3
 
davidthefat's Avatar
 
Join Date: Mar 2006
Posts: 146
Trader Feedback: 0
Default

autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, texinfo, wget
you got those?
davidthefat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 07:05 AM   #4
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

ii dont know..
and the main step i was confused with but wouldnt share with anyone was
the wget step

set wget to install

WEB is at default..

but when i extend it,
wget is like this

CURRENT - 1.10.2-2
NEW - 1.10.2-1
BIN? X
SOURCE? _ (empty box)
SIZE 469k

how can i set wget to install??

and how do i know i have autoconf/automake/bison/flex/gcc/make/ncurses/patch etc??

at archaemic, i deleted my whole cygwin folder to try it again sorry i cant tell you the errors
-= Double Post =-
i tried this guide

http://www.psp-programming.com/forum...php?topic=62.0

and i get the same error
this time i copied and pasted the lines above for you guys

/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
Configuring in libiberty
/bin/sh: /home/James: No such file or directory
Configuring in intl
make: *** [configure-libiberty] Error 1
make: *** Waiting for unfinished jobs....
/bin/sh: /home/James: No such file or directory
make: *** [configure-intl] Error 1
../scripts/001-binutils-2.16.1.sh: Failed.
-= Double Post =-
hELP

Last edited by joseph10444; 05-31-2008 at 09:28 AM.. Reason: Automerged Doublepost
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 01:57 PM   #5
 
Join Date: May 2008
Posts: 2
Trader Feedback: 0
Default

i once read a guide and it said that the failing part is where it actually ends
thought it wasnt scripts/001, it was scripts/009...

i dont get the lines above the erorr...
jolikespsp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 02:01 PM   #6
No longer a community member.
 
Join Date: Dec 2005
Posts: 22
Trader Feedback: 0
Default

Quote:
Originally Posted by joseph10444
okay so i followed pspprogramming's guide and followed all the instructions

im at this page
http://www.psp-programming.com/tutor...lesson01-2.htm

and this part
"After that is finished, execute the updated script by typing "./toolchain.sh" and hitting enter. In Linux, "." means the current directory, and ".." means the parent directory, so this command means to execute "toolchain.sh," which is in the current directory. The toolchain.sh script will do the rest, for you. "

i did the svn patch
and i typed ./toolchain.sh

and then this error comes up

ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: FAILED

umm
what do i do ?

in the readme of psptoolchain, it says,

2) Add the following to your login script:

export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin

3) Run the toolchain script:

./toolchain.sh

is that what im missing??
it wasnt in the instructions.. so..

EDIT

the toolchain.sh works
and i wait like 2 minuts
and this problem comes up

make: *** [configure-libiberty] Error 1
../scripts/001-binutils-2.16.1.sh: Failed

help?
Yes, that's what's missing.

Do this:
Code:
echo "export PSPDEV=/usr/local/pspdev" >> ~/.bashrc
echo "export PATH=$PATH:$PSPDEV/bin" >> ~/.bashrc
source ~/.bashrc
Then, do:
Code:
./toolchain.sh
Hardrive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 02:36 PM   #7
Local Tech
 
joseph10444's Avatar
 
Join Date: Oct 2007
Real First Name: Joe
Location: home
Just Played: rockband
Posts: 1,822
Trader Feedback: 0
Default

thanks
i tried it

but i got the exact same error..
this error

/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
/bin/sh: line 5: [: /home/James: binary operator expected
Configuring in libiberty
/bin/sh: /home/James: No such file or directory
Configuring in intl
make: *** [configure-libiberty] Error 1
make: *** Waiting for unfinished jobs....
/bin/sh: /home/James: No such file or directory
make: *** [configure-intl] Error 1
../scripts/001-binutils-2.16.1.sh: Failed.
-= Double Post =-
GOSH THIS IS SO HARD!! can anyone please help

Last edited by joseph10444; 05-31-2008 at 06:10 PM.. Reason: Automerged Doublepost
joseph10444 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2008, 10:02 PM   #8
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

There's a space in your user name, isn't there.
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
setting , toolchainsh

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 04:06 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us