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 

Hello all. PSP Toolchain help?

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



Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 2:52 am    Post subject: Hello all. PSP Toolchain help? Reply with quote

Hi guys. I was wondering if you could give a little bit of a hand here.

I'm running Ubuntu (Hardy Heron), and I'm trying to install the psp toolchain. However, running the toolchain.sh script eventually runs into this snag:

Quote:

make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.


Now, I asked at the forums of the tutorial I was following, and I was told to ask you guys, since noone there really messed with the scripts themselves.

Thanks for any help.
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Thu Oct 30, 2008 4:06 am    Post subject: Reply with quote

We need to see the full log, including the actual error message.
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Thu Oct 30, 2008 4:22 am    Post subject: Reply with quote

First of all the scripts use wget to get the sources from internet
do you have this utility installed at your system.
does the first 3 step executed without any problem?
binutils
gcc-4.3.1
psp-sdk stage 1


Are your root if not
do you have provide in /etc/sudoers a line like this
f731 ALL=(ALL) NOPASSWD:ALL
here the user f731 can sudo any command wihout asking a password

and do you use toolchain-sudo.sh instead of toolchain.sh

I"ve just re downloaded the toolchain and recompiled it on fedora 9 without any
problem

can you provide the output from the download of the new-lib
The compilation etc...

What is your version of gcc.
gcc -version on fedora 9 give gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)



here is wat i need
Code:

--2008-10-29 19:21:13--  ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz
           => `newlib-1.15.0.tar.gz'
Résolution de sources.redhat.com... 209.132.176.174
Connexion vers sources.redhat.com|209.132.176.174|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD /pub/newlib ... complété.
==> SIZE newlib-1.15.0.tar.gz ... 10709842
==> PASV ... complété.    ==> RETR newlib-1.15.0.tar.gz ... complété.
Longueur: 10709842 (10M)

100%[======================================>] 10709842     397K/s   in 32s     

2008-10-29 19:21:51 (329 KB/s) - « newlib-1.15.0.tar.gz » sauvegardé [10709842]
and the unpack of the source
and the full compilation
Back to top
View user's profile Send private message Send e-mail MSN Messenger
AerosolSP



Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 4:48 am    Post subject: Reply with quote

yes, I'm root.

as for the stages, I can tell you that the part where I see all the "binutils" lines and "checking for/whether" lines complete, as do the lines that don't have a pattern I can discern (everything is going by really quickly). I think they start with -W something, and then later on start with ALEDIR. Then I see whole bunch of gcc lines. After that there are more checks. I'm gonna assume that this means that the first two stages complete fine.

Watching the script carefully, I do notice at one point that the terminal says something about logging in as anonymous. Maybe you can identify what stage this is? Also, I don't understand what you mean from the download of the new-lib. Do you mean for me to download it from inside the terminal?

as for the full log, I can't. Mainly because the Terminal won't let me copy the full log. Here's all I can copy:

Quote:
checking for psp-g++... no
checking for psp-cxx... no
checking for psp-gxx... no
checking for psp-gcc... psp-gcc
checking for psp-gcj... no
checking for psp-gfortran... no
checking for ar... no
checking for psp-ar... psp-ar
checking for as... no
checking for psp-as... psp-as
checking for dlltool... no
checking for psp-dlltool... no
checking for ld... no
checking for psp-ld... psp-ld
checking for lipo... no
checking for psp-lipo... no
checking for nm... no
checking for psp-nm... psp-nm
checking for objdump... no
checking for psp-objdump... psp-objdump
checking for ranlib... no
checking for psp-ranlib... psp-ranlib
checking for strip... no
checking for psp-strip... psp-strip
checking for windres... no
checking for psp-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
make[1]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
if test -f gcc/Makefile; then cd gcc && make clean-target-libgcc; else :; fi
make[1]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
make[1]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
Checking multilib configuration for newlib...
mkdir -p -- psp/newlib
mkdir -p -- ./etc
Configuring in ./etc
Configuring in psp/newlib
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
configure: creating cache ./config.cache
make[2]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
for f in standards.info configure.info; do \
if test -f ../../etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[3]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../etc -o standards.info ../../etc/standards.texi
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
checking build system type... make[3]: *** [standards.info] Error 1
make[3]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
make[2]: *** [info] Error 1
make[2]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
make[1]: *** [all-etc] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking host system type... mipsallegrexel-psp-elf
checking for psp-strip... psp-strip
checking for gcc... psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... gcc3
checking whether we are using GNU C... yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... no
checking for psp-as... psp-as
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-readelf... psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for array aliasing support... no
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
Adding multilib support to Makefile in ../../../newlib
multidirs=
with_multisubdir=
config.status: creating newlib.h
config.status: executing depfiles commands
configure: configuring in libc
configure: running /bin/sh '../../../../newlib/libc/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/libc
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating argz/Makefile
config.status: creating ctype/Makefile
config.status: creating errno/Makefile
config.status: creating locale/Makefile
config.status: creating misc/Makefile
config.status: creating reent/Makefile
config.status: creating search/Makefile
config.status: creating stdio/Makefile
config.status: creating stdio64/Makefile
config.status: creating stdlib/Makefile
config.status: creating string/Makefile
config.status: creating time/Makefile
config.status: creating posix/Makefile
config.status: creating signal/Makefile
config.status: creating syscalls/Makefile
config.status: creating unix/Makefile
config.status: creating iconv/Makefile
config.status: creating iconv/ces/Makefile
config.status: creating iconv/ccs/Makefile
config.status: creating iconv/ccs/binary/Makefile
config.status: creating iconv/lib/Makefile
config.status: executing depfiles commands
configure: configuring in machine
configure: running /bin/sh '../../../../../newlib/libc/machine/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' --cache-file=../.././config.cache --srcdir=../../../../../newlib/libc/machine
configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in mips
configure: running /bin/sh '../../../../../../newlib/libc/machine/mips/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' '--cache-file=../.././config.cache' '--srcdir=../../../../../newlib/libc/machine' --cache-file=../../.././config.cache --srcdir=../../../../../../newlib/libc/machine/mips
configure: loading cache ../../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in sys
configure: running /bin/sh '../../../../../newlib/libc/sys/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' --cache-file=../.././config.cache --srcdir=../../../../../newlib/libc/sys
configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in psp
configure: running /bin/sh '../../../../../../newlib/libc/sys/psp/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' '--cache-file=../.././config.cache' '--srcdir=../../../../../newlib/libc/sys' --cache-file=../../.././config.cache --srcdir=../../../../../../newlib/libc/sys/psp
configure: loading cache ../../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in libm
configure: running /bin/sh '../../../../newlib/libm/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/libm
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating math/Makefile
config.status: creating mathfp/Makefile
config.status: creating common/Makefile
config.status: executing depfiles commands
configure: configuring in doc
configure: running /bin/sh '../../../../newlib/doc/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/doc
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for build system executable suffix... no
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make[1]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Thu Oct 30, 2008 6:03 am    Post subject: Reply with quote

Here's your error...

Quote:
WARNING: `makeinfo' is missing on your system.


You need to install texinfo, I believe.

I think this should install texinfo on Ubuntu:

Quote:
sudo apt-get install texinfo


There are two files that come with the toolchain, readme.txt and readme-ubuntu.txt. They both list all the packages that are required.
Back to top
View user's profile Send private message
AerosolSP



Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 6:51 am    Post subject: Reply with quote

i tried that. It said I had texinfo already.

edit: upon further inspection, I realized that I didn't have ncurses. The tutorial I was following didn't list it.

typing "apt-get install ncurses" (while in root), however, yields this:

Quote:

Package ncurses is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ncurses has no installation candidate


it's interesting that it says that ncurses has possibly been obsoleted, because the tutorial said to install "libncurses5-dev" instead. Also,i got no readme-ubuntu.txt file.
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Thu Oct 30, 2008 7:28 am    Post subject: Reply with quote

If you are missing readme-ubuntu, then you probably don't have latest psptoolchain. Download latest toolchain from svn:

Code:
svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain


And install all required libraries (last time i installed, readme-ubuntu was missing some of them):

Code:
sudo apt-get install autoconf autogen automake1.9 libtool build-essential flex bison subversion libncurses5-dev libgmp3-dev libmpfr-dev libreadline5-dev texinfo libusb-dev


Also, you have to run toolchain-sudo.sh, not toolchain.sh.
Back to top
View user's profile Send private message
AerosolSP



Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 8:25 am    Post subject: Reply with quote

Okay. toolchain-sudo.sh is chugging along now. If an error pops up, I'll edit this message. Thanks for your help so far guys.

edit: well, the terminal has brought me back to the <username>@<computer>: prompt. So guess it's done then. Any way I can test this?
Back to top
View user's profile Send private message
hibbyware



Joined: 28 Mar 2007
Posts: 78

PostPosted: Thu Oct 30, 2008 10:07 am    Post subject: Reply with quote

Compile one of the samples that came with the PSPSDK to test,
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Oct 30, 2008 10:15 am    Post subject: Reply with quote

If you got the toolchain compiled, next do the libraries. Checkout psplibraries from the svn and run the script library-sudo.sh to get most of the major libraries.
Back to top
View user's profile Send private message AIM Address
AerosolSP



Joined: 30 Oct 2008
Posts: 5

PostPosted: Fri Oct 31, 2008 6:39 am    Post subject: Reply with quote

libraries-sudo.sh finished without a glitch. One more thing....where are the examples in the PSPSDK folder? I can't find them for the life of me.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Oct 31, 2008 7:15 am    Post subject: Reply with quote

/usr/local/pspdev/psp/sdk/samples
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