Problems configuring latest PSPSDK with autoconf

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

Moderators: cheriff, TyRaNiD

Post Reply
jedcred
Posts: 2
Joined: Thu Jun 21, 2007 5:55 am

Problems configuring latest PSPSDK with autoconf

Post by jedcred »

I have ubuntu 7.04, with the latest versions of automake and autoconf installed (autoconf is currently at version 2.61, up from version 1.9 that seemed to be current when the SDK was new). The README from the PSPSDK from the latest svn is somewhat out of date, as there is no configure file, nor any of the older methods of configuring/compiling the SDK as have been mentioned around here, like the other shell scripts and whatnot.

The psptoolchain was successfully installed (finally) on this machine.

Running autoconf results in the following errors.

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

Taking a peek into configure.ac, it doesn't seem that they are defined at all. Any ideas?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Installation from Subversion

PSPSDK can be found in the Subversion repository located at
svn://svn.pspdev.org/psp. If you are using the command line version of the
Subversion client, you can the following command to download PSPSDK:

svn co svn://svn.pspdev.org/psp/trunk/pspsdk

Once you've downloaded PSPSDK, run the following from the pspsdk directory
to create the configure script and support files (you must have autoconf and
automake installed):

./bootstrap

You can now run the commands listed in the "Installation from source"
section.
It is easy to miss if you're quickly skimming the readme for installation instructions.
jedcred
Posts: 2
Joined: Thu Jun 21, 2007 5:55 am

Post by jedcred »

ooPo wrote:
Installation from Subversion

PSPSDK can be found in the Subversion repository located at
svn://svn.pspdev.org/psp. If you are using the command line version of the
Subversion client, you can the following command to download PSPSDK:

svn co svn://svn.pspdev.org/psp/trunk/pspsdk

Once you've downloaded PSPSDK, run the following from the pspsdk directory
to create the configure script and support files (you must have autoconf and
automake installed):

./bootstrap

You can now run the commands listed in the "Installation from source"
section.
It is easy to miss if you're quickly skimming the readme for installation instructions.
Or if you read the instructions a hundred times and keep skipping the same part :) Thanks.

By the by, do you happen to have a file called sdl-config in your pspdev/bin (or anywhere in your pspdev folder, for that matter)? I'm trying to compile PSPComic (all this just to switch a pair of buttons around: insanity), but the makefile the dev provided is looking for sdl-config, and I don't have it, despite psptoolchain and pspdev.
futaris
Posts: 45
Joined: Wed Dec 28, 2005 7:47 am

Post by futaris »

compile SDL from psp/trunk/SDL by following the instructions in README.PSP
Post Reply