Toolchain compile errors on CYGWIN

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

Moderators: cheriff, TyRaNiD

Post Reply
OopsIDied
Posts: 2
Joined: Sun Apr 27, 2008 8:29 am

Toolchain compile errors on CYGWIN

Post by OopsIDied »

Hello everyone, I am trying to install the PSP Toolchain on CYGWIN on Windows XP, but I keep getting some errors. I've been googling all day and I would really appreciate some help. The file Im using is:
psptoolchain-20070626.tar.bz2

I extracted the psptoolchain folder to C:\cygwin\home\Perl\

I then opened a linux shell and typed

svn Update (Said my make was 2831 or something)
cd psptoolchain
chmod a+x toolchain.sh
./toolchain.sh

It began the install and did lots of stuff, but twice it has ended with:

Code: Select all

Exported revision 2381.
.
./bootstrap: line 81: aclocal: command not found
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/audio/Makefile.am: installing `./depcomp'
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_COND
ITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
configure.ac:8: error: possibly undefined macro: AC_PSPSDK_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AC_PSPDEV_PATH
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:14: error: possibly undefined macro: AC_PSPDEV_TOOLCHAIN
configure.ac:19: error: possibly undefined macro: AM_PROG_AS
grep: Makefile.in: No such file or directory
./configure: line 1699: AC_1.0+beta2: command not found
./configure: line 1700: AC_PSPDEV_PATH: command not found
./configure: line 1702: syntax error near unexpected token `pspsdk,'
./configure: line 1702: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta2)'
../scripts/003-pspsdk-stage1.sh: Failed.
I have automake and autoconfigs are up to date. Help pleasseee.[/code]
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

Dont use that toolchain script.. its nearly a year old!
OopsIDied
Posts: 2
Joined: Sun Apr 27, 2008 8:29 am

Post by OopsIDied »

This is the most recent one on the website....where can I get a newer one?
Alfarshear
Posts: 5
Joined: Mon Apr 28, 2008 7:35 am

Post by Alfarshear »

I solved it by hard linking aclocal-(your version) to aclocal.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

OopsIDied wrote:This is the most recent one on the website....where can I get a newer one?
Check it out of the repo.

Code: Select all

svn co svn://svn.ps2dev.org/ps2/trunk/ps2toolchain
capz
Posts: 6
Joined: Tue May 20, 2008 4:15 am

Post by capz »

looks like im having the same issue, only i am trying to build it on mac osx leopard. i had a working version before i re-installed the OS, but i lost the link to the tutorial that worked.

my output is almost identical:

Code: Select all

Checked out revision 2390.
.
configure.ac:46: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
aclocal/ac_doxygen.m4:77: DX_REQUIRE_PROG is expanded from...
aclocal/ac_doxygen.m4:117: DX_ARG_ABLE is expanded from...
aclocal/ac_doxygen.m4:178: DX_INIT_DOXYGEN is expanded from...
configure.ac:46: the top level
autom4te: /sw/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
src/audio/Makefile.am: installing `./depcomp'
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
aminclude.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
Makefile.am:6:   `aminclude.am' included from here
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
configure.ac:8: error: possibly undefined macro: AC_PSPSDK_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AC_PSPDEV_PATH
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:14: error: possibly undefined macro: AC_PSPDEV_TOOLCHAIN
configure.ac:19: error: possibly undefined macro: AM_PROG_AS
configure: WARNING: Unrecognized options: --with-pspdev
./configure: line 1789: AC_1.0+beta2: command not found
./configure: line 1790: AC_PSPDEV_PATH: command not found
./configure: line 1792: syntax error near unexpected token `pspsdk,'
./configure: line 1792: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta2)'
../scripts/003-pspsdk-stage1.sh: Failed.
Post Reply