"Error running PSPSDK configure"

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Thrett
Posts: 14
Joined: Fri Aug 05, 2005 2:34 am

"Error running PSPSDK configure"

Post by Thrett »

So, I installed Cygwin fresh, including all the packages noted at http://wiki.pspdev.org/psp:programming_faq and http://wiki.ps2dev.org/psp:toolchain.

Then I downloaded the lastest psptoolchain-080105 and extracted it to a folder I created in the Cygwin directory structure /home/Clint/psptoolchain (C:\Cygwin\home\Clint\psptoolchain).

I browsed to the toolchain.sh file, ran "chmod a+x ./toolchain.sh", the ran "./toolchain.sh"

It runs for a while and then pops an error on me...I don't know enough to say what is significant and what is not, so I posted the contents of the buffer, my apologies for the girth. As a note, I have never installed Cygwin before, and was curious as to why all the FAQs reference the home directory though none is created upon install. Any and all help is much appreciated. Thanks in advance.

Code: Select all

/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/zh_CN/LC_MESSA
GES
/usr/bin/install -c -m 644 ../../gcc/po/zh_CN.gmo /usr/local/pspdev/share/locale
/zh_CN/LC_MESSAGES/gcc.mo
rm -f /usr/local/pspdev/bin/psp-gcc.exe
/usr/bin/install -c xgcc.exe /usr/local/pspdev/bin/psp-gcc.exe
rm -f /usr/local/pspdev/bin/psp-gcc-4.0.1
( cd /usr/local/pspdev/bin && \

   ln psp-gcc.exe psp-gcc-4.0.1 )
if [ -f gcc-cross.exe ] ; then \
  if [ -d /usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/bin/. ] ; then \
    rm -f /usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/bin/gcc.exe; \
    /usr/bin/install -c gcc-cross.exe /usr/local/pspdev/lib/gcc/psp/4.0.1/../../
../../psp/bin/gcc.exe; \
  else true; fi; \
else \
  rm -f /usr/local/pspdev/bin/psp-gcc-tmp.exe; \
  ( cd /usr/local/pspdev/bin && \
    ln psp-gcc.exe psp-gcc-tmp.exe && \
    mv -f psp-gcc-tmp.exe psp-psp-gcc.exe ); \
fi
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/gcc'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/intl'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/intl'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libcpp'
mkdir -p -- /usr/local/pspdev/share/locale/vi/LC_MESSAGES
cats="po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/j
a.gmo po/nl.gmo po/rw.gmo po/sv.gmo po/tr.gmo po/vi.gmo po/be.gmo po/ca.gmo po/d
a.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/nl.gmo po/rw.gmo po/s
v.gmo po/tr.gmo po/vi.gmo"; for cat in $cats; do \
  lang=`basename $cat | sed 's/\.gmo$//'`; \
  if [ -f $cat ]; then :; \
  elif [ -f ../../libcpp/$cat ]; then cat=../../libcpp/$cat; \
  else continue; \
  fi; \
  dir=/usr/local/pspdev/share/locale/$lang/LC_MESSAGES; \
  echo /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
  /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
done
/usr/bin/install -c -m 644 ../../libcpp/po/be.gmo /usr/local/pspdev/share/locale
/be/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ca.gmo /usr/local/pspdev/share/locale
/ca/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/da.gmo /usr/local/pspdev/share/locale
/da/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/de.gmo /usr/local/pspdev/share/locale
/de/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/el.gmo /usr/local/pspdev/share/locale
/el/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/es.gmo /usr/local/pspdev/share/locale
/es/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/fr.gmo /usr/local/pspdev/share/locale
/fr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ja.gmo /usr/local/pspdev/share/locale
/ja/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/nl.gmo /usr/local/pspdev/share/locale
/nl/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/rw.gmo /usr/local/pspdev/share/locale
/rw/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/sv.gmo /usr/local/pspdev/share/locale
/sv/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/tr.gmo /usr/local/pspdev/share/locale
/tr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/vi.gmo /usr/local/pspdev/share/locale
/vi/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/be.gmo /usr/local/pspdev/share/locale
/be/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ca.gmo /usr/local/pspdev/share/locale
/ca/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/da.gmo /usr/local/pspdev/share/locale
/da/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/de.gmo /usr/local/pspdev/share/locale
/de/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/el.gmo /usr/local/pspdev/share/locale
/el/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/es.gmo /usr/local/pspdev/share/locale
/es/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/fr.gmo /usr/local/pspdev/share/locale
/fr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ja.gmo /usr/local/pspdev/share/locale
/ja/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/nl.gmo /usr/local/pspdev/share/locale
/nl/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/rw.gmo /usr/local/pspdev/share/locale
/rw/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/sv.gmo /usr/local/pspdev/share/locale
/sv/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/tr.gmo /usr/local/pspdev/share/locale
/tr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/vi.gmo /usr/local/pspdev/share/locale
/vi/LC_MESSAGES/cpplib.mo
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libcpp'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite'

/bin/sh ../../libiberty/../mkinstalldirs /usr/local/pspdev/lib
/usr/bin/install -c -m 644 ./libiberty.a /usr/local/pspdev/lib/./libiberty.an
( cd /usr/local/pspdev/lib ; ranlib ./libiberty.an )
mv -f /usr/local/pspdev/lib/./libiberty.an /usr/local/pspdev/lib/./libiberty.a
if test -n ""; then \
  case "" in \
    /*)    thd=;; \
    *)     thd=/usr/local/pspdev/include/;; \
  esac; \
  /bin/sh ../../libiberty/../mkinstalldirs ${thd}; \
  for h in ../../libiberty/../include/ansidecl.h ../../libiberty/../include/dema
ngle.h ../../libiberty/../include/dyn-string.h ../../libiberty/../include/fibhea
p.h ../../libiberty/../include/floatformat.h ../../libiberty/../include/hashtab.
h ../../libiberty/../include/libiberty.h ../../libiberty/../include/objalloc.h .
./../libiberty/../include/partition.h ../../libiberty/../include/safe-ctype.h ..
/../libiberty/../include/sort.h ../../libiberty/../include/splay-tree.h ../../li
biberty/../include/ternary.h; do \
    /usr/bin/install -c -m 644 $h ${thd}; \
  done; \
fi
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite
'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite'

make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
Doing clean in fixincludes
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/fixincludes'
rm -f *.o *-stamp applyfix.exe fixincl.exe *~ fixinc.sh
rm -f mkheaders
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/fixincludes'
Doing clean in gcc
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/gcc'
rm -f insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-em
it.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c insn-pr
eds.c insn-constants.h tm-preds.h tree-check.h insn-conditions.c min-insn-modes.
c insn-modes.c insn-modes.h genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp
-gen.h *.o s-* xgcc.exe cpp.exe cc1.exe    gcc-cross.exe protoize.exe unprotoize
.exe specs collect2.exe gcov-iov.exe gcov.exe gcov-dump.exe *.[0-9][0-9].* *.[si
] libbackend.a libgcc.mk
rm -f *.{gcda,gcno}
rm -rf libgcc
rm -f build/*
rm -f mddeps.mk
rm -f xlimits.h
rm -f xsys-protos.hT
rm -f specs.h gencheck.h options.c options.h
rm -f s-* tmp-* stamp-* stmp-*
rm -f */stamp-* */tmp-*
rm -f *.[0-9][0-9].* */*.[0-9][0-9].*
rm -f specs specs SYSCALLS.c.X SYSCALLS.c
rm -f collect collect2 mips-tfile mips-tdump
rm -rf .exe xsys-protos.h deduced.h tmp-deduced.h \
  gen-protos.exe fixproto.list fixtmp.* fixhdr.ready
rm -f *.toc *.log *.vr *.fn *.cp *.tp *.ky *.pg
rm -f */*.toc */*.log */*.vr */*.fn */*.cp */*.tp */*.ky */*.pg
rm -f gcc.vrs gcc.kys gcc.tps gcc.pgs gcc.fns
rm -f core */core
rm -f gtyp-gen.h
rm -f gtype-*
rm -f gt-*
rm -f libgcc.a libgcc_eh.a libgcov.a
rm -f libgcc_s*
rm -f libunwind*
rm -f config.h tconfig.h bconfig.h tm_p.h tm.h
rm -f options.c options.h optionlist
rm -f cs-*
rm -rf libgcc
rm -f doc/*.dvi
rm -rf include
rm -f multilib.h tmpmultilib*
if [ "x" != x ] ; then \
  rm -rf ; \
else if [ "x" != x ] ; then \
  rm -rf `echo  | sed -e 's/\// /g'`; \
fi ; fi
rm -fr stage1 stage2 stage3 stage4 stageprofile stagefeedback
rm -f stage?_*
rm -f clean?_*
rm -f stage_last
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/gcc'
Doing clean in intl
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/intl'
rm -f *.a *.la *.o *.obj *.lo core core.* libintl.h
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/intl'
Doing clean in libcpp
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libcpp'
rm -f *.o
rm -rf makedepend.exe libcpp.a ../../libcpp/autom4te.cache
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libcpp'
Doing clean in libiberty
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite
'
rm -f test-demangle
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty/testsuite'

make SUBDIRS="" mostlyclean
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
rm -rf *.o pic core errs \#* *.E a.out
rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
rm -f   stamp-picdir
rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
rm -f libtexi.stamp
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
rm -f *.a required-list tmpmulti.out
rm -f libiberty.dvi libiberty.info* libiberty.html
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp/libiberty'
test ! -d gcc/libgcc || \
(cd gcc/libgcc && find . -type d -print) | \
while read d; do rm -f gcc/$d/libgcc.a || : ; done
rm -rf gcc/libgcc
rm -f gcc/stmp-dirs
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
.
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSM
I
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_F
T2
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPU
NIT
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
sdk/Makefile.am:1: required directory sdk/rtc does not exist
sdk/audio/Makefile.am: installing `./depcomp'
configure.ac:102: required file `sdk/rtc/Makefile.in' not found
grep: Makefile.in: No such file or directory
checking for pspsdk version... 1.0+beta
checking for pspdev... /usr/local/pspdev
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-gcc... psp-gcc
checking for psp-g++... no
checking for psp-as... psp-as
checking for psp-ld... psp-ld
checking for psp-ar... psp-ar
checking for psp-nm... psp-nm
checking for psp-ranlib... psp-ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for getcwd... yes
checking for strchr... yes
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen docum
entation
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in
ERROR RUNNING PSPSDK CONFIGURE
<off topic>
First post!
</off topic>
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

Check which versions of automake and autoconf you have.

(Prolly by doing automake -V, although I'm not 100% sure.)
Lego of my Ago!
Thrett
Posts: 14
Joined: Fri Aug 05, 2005 2:34 am

Post by Thrett »

automake --version
automake (GNU automake) 1.9.5

autoconf --version
autoconf (GNU Autoconf) 2.59
dbase
Posts: 8
Joined: Wed Jul 20, 2005 11:08 am

Post by dbase »

Thrett wrote:automake --version
automake (GNU automake) 1.9.5

autoconf --version
autoconf (GNU Autoconf) 2.59
I had exactly the same problem on a fresh install today. Make sure these entries are in your /etc/make.conf

Code: Select all

AUTOCONF="yes"
AUTOMAKE="yes"
hope that helps :)
Thrett
Posts: 14
Joined: Fri Aug 05, 2005 2:34 am

Post by Thrett »

I searched the entire Cygwin tree and didn't find a file named make.conf.

(; ;)

Re-install make? Manually create the make.conf file?
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

Thrett wrote: Re-install make?
I'd do that
Lego of my Ago!
Thrett
Posts: 14
Joined: Fri Aug 05, 2005 2:34 am

Post by Thrett »

Manually created the /etc/make.conf file with only:

AUTOCONF="yes"
AUTOMAKE="yes"

Script ran without crashing! Successfully compiled one of the SDK samples (power). At least I think I did...lol, ended up with a powersample.elf file. Is this where I have to use one of the packing programs to create the EBOOT.PBP file? Time to do a little more reading I guess.

Thanks!
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

you can do a 'make kxploit' and it will create the two directories that you can then put on the /psp/game/ directory.
Lego of my Ago!
Thrett
Posts: 14
Joined: Fri Aug 05, 2005 2:34 am

Post by Thrett »

Works great, tnx!
Post Reply