.
aclocal: configure.ac: 19: macro `AM_PROG_AS' not found in library
configure.ac: 7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./mkinstalldirs'
automake: configure.ac: installing `./missing'
Makefile.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_ht
ml_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_man_TRUE@ @DX_COND_rtf_T
RUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE
@
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_ht
ml_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_man_TRUE@ @DX_COND_rtf_T
RUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE
@
configure.ac: 7: required file `./[config.h].in' not found
automake: Makefile.am: warning: automake does not support EXTRA_DIST being defin
ed conditionally
Makefile.am:10: variable `DX_CONFIG' not defined
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: line 1312: AC_1.0+beta2: command not found
./configure: line 1313: AC_PSPDEV_PATH: command not found
./configure: line 1315: syntax error near unexpected token `pspsdk,'
./configure: line 1315: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta2)'
ERROR RUNNING PSPSDK CONFIGURE
autoconf 2.59 is being used. can anybody help me install the toolchain ?
Is support for building psp-gdb going to be added to the perl based script? It took me a while to figure out that you needed to use the toolchain.sh script to do this...
Try building it somewhere without spaces in the filename...
darko if you mean the folder name "newchaintool" there is no spaces but i'll try another folder ..
also there is no spaces in the file name --> ./toochain.pl "PSP" this is an option to use the psp toolchain because this is the new tool from oPoo site (thx man ... )
i think ...
it wants to access My Computer to reach the Console itself but it cant find the folder My Computer ??
Can't open /home/Computer: No such file or directory
i tried & created directory in the home /home/Computer ..
Try building it somewhere without spaces in the filename...
darko if you mean the folder name "newchaintool" there is no spaces but i'll try another folder ..
...no, I'm talking about how it says the username is "Computer Scince Dept" , which means the home dir is "/home/Computer Scince Dept", and it appears there is a problem with the spaces in the path (thus it trying to open /home/Computer) ... spaces in filenames are nasty business ;)
...if you are slightly confused, remember that ~/ is a unix shortcut that resolves to the current user's homedir, which is typically /home/username ... and IIRC unix usernames are not allowed to have spaces...
Try building it in /tmp/ , or fix the problem so you don't have those spaces ;) (spaces in filenames, while technically allowed, are Evil(TM) and can cause many problems)
I tried to install the toolchain (the only one available on the ps2dev.org website) and a fresh install of cygwin with all of the devel items and all of the other things that I need (wget, patch, and other unix/linux utils and some zip stuff just to be sure) and I get some stupid error. I tried it 3 times and nothing worked. I had the paths set and everything. It only crashes on GCC, I don't have any problems with the other libs. What do you think?
Please help me, I have some good ideas of programs for the new USB GPS unit I just bought.
On a related note, does anyone know the functions for the USB GPS? Obviously I can't run the SDK, so I don't know what's available, if you can let me know that will help once I get the toolchain installed.
One recommendation I can offer is when running the cygwin setup, make sure that you select all development tools and not just a few. I used to have errors a very long time ago when I first tried installing the SDK and found that the easiest solution was to install all of the dev tools/environments during cygwin setup.
And only apply the following to your cygwin.bat file after the toolchain has been installed.
SamuraiX wrote:One recommendation I can offer is when running the cygwin setup, make sure that you select all development tools and not just a few. I used to have errors a very long time ago when I first tried installing the SDK and found that the easiest solution was to install all of the dev tools/environments during cygwin setup.
And only apply the following to your cygwin.bat file after the toolchain has been installed.
@echo off
C:
chdir C:\cygwin\bin
set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev
bash --login -i
On another note are you grabbing the latest toolchain from the svn server? Perhaps you should try to install an older toolchain.
I did install all of the devel tools. Short of installing the complete cygwin I have everything needed for developing. It isn't giving me a file not found error. It's saying that GCC is having an internal complier error. What can I do about that?
I also tried an older toolchain and that one had different problems like the ones encountered earlier in this thread. The solution for those was to upgrade to a newer toolchain, which seems to not be an option for me.
Am I the only one who thinks that using an archaic command line system is a bad idea for development? Especially considering the number of problems that occur when people try to operate them? Why doesn't someone port the SDK to a more reliable system?
Maybe it's too late for the PSP, but in the future when another system gets a homebrew sdk, let's not use Linsux. How about Mac? I'd buy a Mac for that purpose. I've been wanting one anyway.
Anyone ever come across this type of problem with the .sh scripts in cygwin (its not just the toolchain, either)? It's giving me errors for blank lines, and I just am plain stumped... they were working fine a couple months ago (a few script updates ago, a few versions of prxtool ago), I really can't think of anything I would have done that could have broken it - unless, do these scripts need a specific version of perl or some other wonko thing?
btw: reinstalled cygwin, tried different version of autoconf, automake, bash, added perl devel stuff... still the same thing.
edit:/ just when I ask I find a way
$ash ./toolchain.sh
instead and it goes. Guessing bash is indeed the culprit.
Given that strange output it looks like a problem with line endings. I would guess that your cygwin is configured to use "\n" as line endings, but that file contains "\r\n", and so it's looking to run a program called "\r" every time it sees a blank line.