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 

make: *** [all] Error 2 (../scripts/007-gdb-6.4.sh: Failed.)

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



Joined: 25 Jun 2007
Posts: 1

PostPosted: Mon Jun 25, 2007 4:11 am    Post subject: make: *** [all] Error 2 (../scripts/007-gdb-6.4.sh: Failed.) Reply with quote

I ran ./toolchain.sh and after 6 hrs i get this error:
Code:

....

configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) mipsallegrexel-psp-elf
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory `/home/mika/source/psptoolchain/build/
gdb-6.4/build-psp'
make: *** [all] Error 2
../scripts/007-gdb-6.4.sh: Failed.



Have i installed it successfully? If not, wat should i do...
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jun 25, 2007 11:05 am    Post subject: Reply with quote

Well, gdb and insight are the last two steps. If you aren't planning to use them then you should be okay. By that point the compiler and sdk are installed.

As for why it failed, you'll have to post more of the output - specifically any part that looks like an error.
Back to top
View user's profile Send private message Visit poster's website
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Mon Jun 25, 2007 11:51 am    Post subject: Reply with quote

I had the same issue today. In the end I was not sure why it happened... but I reran only this portion..... "./toolchain.sh 7" and all was fine.


But for some reason Insight has been purposely not installed within the script.... I noticed the script exits right away (third line down).

Code:
#!/bin/sh
# insight-6.4.sh by Dan Peori (danpeori@oopo.net)
exit;
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: Mon Jun 25, 2007 1:59 pm    Post subject: Reply with quote

Yeah, it doesn't build properly for a lot of people so I disabled it.
Back to top
View user's profile Send private message Visit poster's website
findreams



Joined: 17 Jul 2007
Posts: 2

PostPosted: Tue Jul 17, 2007 8:47 pm    Post subject: Re: make: *** [all] Error 2 (../scripts/007-gdb-6.4.sh: Fail Reply with quote

mika2222 wrote:
I ran ./toolchain.sh and after 6 hrs i get this error:
Code:

....

configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) mipsallegrexel-psp-elf
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory `/home/mika/source/psptoolchain/build/
gdb-6.4/build-psp'
make: *** [all] Error 2
../scripts/007-gdb-6.4.sh: Failed.



Have i installed it successfully? If not, wat should i do...


I have the same problem too, and using Kubuntu 7.04.
When I re-run the toolchain.sh I found there is a error message: "can not find termcap library", so I installed the libncurses5-dev package and the problem solved.
hopefully this could help you.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jul 18, 2007 4:17 am    Post subject: Reply with quote

That's strange. The check-ncurses.sh script in the depends directory should stop the process and give you an error before it even begins to build anything.

I guess its related to the change I made here:

http://forums.ps2dev.org/viewtopic.php?p=54060#54060

So now I will change it to:

Code:
#!/bin/sh
# check-ncurses.sh by Dan Peori (danpeori@oopo.net)

 ## Check for a ncurses library.
 ls /usr/lib/libncurses.a 1> /dev/null || ls /usr/lib/libncurses.dll.a || { echo "ERROR: Install ncurses before continuing."; exit 1; }

In the meantime, you can avoid building from scratch by installing ncurses development support and then running './toolchain.sh 7' to build just gdb.
Back to top
View user's profile Send private message Visit poster's website
findreams



Joined: 17 Jul 2007
Posts: 2

PostPosted: Thu Jul 19, 2007 3:05 pm    Post subject: Reply with quote

libncurses.* is in the package libncurses5 and libtermcap.* iz in libncurses5-dev under ubuntu, so if i installed libncurses5 but not with libncurses5-dev, the check process will past sucessfully, but the installation will fail when compliling gdb.

maybe that is only happened on ubuntu and i do not know if these two libs are in the same package on other distro, so please install these two packages when using ubuntu.
Back to top
View user's profile Send private message
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