SDL problems compiling remotejoy

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

Moderators: cheriff, TyRaNiD

Post Reply
tiamatloc
Posts: 2
Joined: Sun Jul 02, 2006 3:45 am

SDL problems compiling remotejoy

Post by tiamatloc »

I have been following a few tuts including http://www.ngine.de/index.jsp?pageid=4292

I have most of it done but i've run into a snag building tools/remotejoy/pcsdl. I'm getting a bunch of errors about a missing SDL.h and a few other SDL header files, so i checked the SDL port from the SVN and figured building that would fix it.

The instructions (readme.psp) in SDL give me this:
./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
make install
Now ./autogen.sh worked ok but the LDFLAGS line churns away for a bit and then starts complaining about missing makefile.in, in fact there aren't *any* makefile.in's in the SDL folder i checked out.

Can anyone tell me where i'm going wrong as i've been going back over what i have done so far for about 2 hours now and i can't figure out where i'm being stupid.

EDIT: Fixed it. I found a post that suggested "export WANT_AUTOMAKE=1.9" before calling autogen.sh and that fixed it. I was sure these were supposed to be created by automake rather than from the svn too. I hate being a noob :/
Last edited by tiamatloc on Mon Jun 25, 2007 3:52 am, edited 1 time in total.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

1) Makefile.in is created by "autogen.sh". If you didn't get one, chances are that your autotools aren't the right version. It needs automake 1.9 for now (not 1.10).

2) This is the PSP SDL library. You don't need that to compile the PC SDL code. Install the SDL development libraries on your PC.
tiamatloc
Posts: 2
Joined: Sun Jul 02, 2006 3:45 am

Post by tiamatloc »

Thanks for pointing that out, though i did spot that after looking at some posts. As for 2 i thought that was what 'make install' would do, but then i'm a noob so i will probably find i am wrong.

Don't worry, i'll search and experiment a bit more (i learn best that way). Thanks for replying.
Post Reply