various psp libraries fixed

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

Moderators: cheriff, TyRaNiD

Post Reply
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

various psp libraries fixed

Post by jimparis »

I've fixed a number of build bugs in psp libraries:
  • a fix for the freetype config.guess error: while old versions of libtoolize create the config.guess file automatically, new versions require the "--install" option. Rather than attempt to detect the libtool version, we'll just put a generated config.guess in svn.
  • a fix for the recent configure script errors relating to fopen, fclose, etc. The old formula of

    Code: Select all

    LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
    ./configure --host psp --prefix=$(psp-config --psp-prefix)
    is technically wrong, and it should be

    Code: Select all

    LDFLAGS="-L$(psp-config --pspsdk-path)/lib" LIBS="-lc -lpspuser" \
    ./configure --host psp --prefix=$(psp-config --psp-prefix)
    I made this change in various README.PSP files and in all psplibraries scripts.
  • a fix for a bug in libogg that's triggered by the above change
I also took the opportunity to clean up the psplibraries and psptoolchains scripts a little bit by using "set -e" once rather than appending " || { exit 1; }" to every line.

The psplibraries script should run on ubuntu 9.10 with no problems now (assuming you've installed the psptoolchain and the prerequisites).
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

Thx to share this.
Chrighton
Posts: 58
Joined: Wed Jun 15, 2005 8:24 pm

Post by Chrighton »

Not that I think it matters much, but the host flag as it stands now (and is this way in a number of places in the repository) is

Code: Select all

--host psp
should it not be

Code: Select all

--host=psp
instead?

Thanks for the fixes :)
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Either one works for configure scripts.
Post Reply