| View previous topic :: View next topic |
| Author |
Message |
mika2222
Joined: 25 Jun 2007 Posts: 1
|
Posted: Mon Jun 25, 2007 4:11 am Post subject: make: *** [all] Error 2 (../scripts/007-gdb-6.4.sh: Failed.) |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Jun 25, 2007 11:05 am Post subject: |
|
|
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 |
|
 |
SamuraiX
Joined: 31 Jan 2006 Posts: 76 Location: USA
|
Posted: Mon Jun 25, 2007 11:51 am Post subject: |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Jun 25, 2007 1:59 pm Post subject: |
|
|
| Yeah, it doesn't build properly for a lot of people so I disabled it. |
|
| Back to top |
|
 |
findreams
Joined: 17 Jul 2007 Posts: 2
|
Posted: Tue Jul 17, 2007 8:47 pm Post subject: Re: make: *** [all] Error 2 (../scripts/007-gdb-6.4.sh: Fail |
|
|
| 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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jul 18, 2007 4:17 am Post subject: |
|
|
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 |
|
 |
findreams
Joined: 17 Jul 2007 Posts: 2
|
Posted: Thu Jul 19, 2007 3:05 pm Post subject: |
|
|
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 |
|
 |
|