Compiling SDL

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

Moderators: cheriff, TyRaNiD

Post Reply
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Compiling SDL

Post by pspwill »

SDL wont compile for me, everytime i get to the configure part and i get this

Code: Select all

configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
Help?
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

if i remember well, you just need to do for SDL :

make
make install

autoconf has beem removed for psp
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Post by pspwill »

Code: Select all

William@william-346e6cd ~/SDL
$ make
make: *** No targets specified and no makefile found.  Stop.
Nope.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Code: Select all

WANT_AUTOMAKE=1.9 ./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install
WANT_AUTOMAKE=1.9 is important for it to work for you.
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

oh yes I forget, try this :
To build for the PSP, make sure psp-config is in the path and run:

./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install
Post Reply