 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
daniel-kun
Joined: 06 Feb 2007 Posts: 4
|
Posted: Tue Feb 06, 2007 8:47 pm Post subject: Installing SDL for PSP from svn |
|
|
Hello folks,
first of all, I'd like to thank every contributor for this great effort. The PSP toolchain, the SDK and all the ported third-party lib make coding for the PSP so much easier.
Well, I got a problem with one of the third-party libs, though: libSDL.
I'm on win32, have cygwin installed and the pspdev-toolchain running fine. I've successfully build the examples and experimented a bit.
Then I've checked out the source from svn://svn.ps2dev.org/psp/trunk/SDL
Here's what I've done, in a nutshell:
| Code: | svn co svn://svn.ps2dev.org/psp/trunk/SDL SDL
cd SDL
export WANT_AUTOMAKE=1.9
sh autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" configure --host psp --prefix=$(psp-config --psp-prefix)
make |
Up until now, everything was perfectly fine. But then, when I runmake complains that there are multiple Target-rules for one target. It doesn't tell me, which one, though.
Is this a bug in svn HEAD? A problem with my setup? Incompatible autotools?
Is there a "stable" tag I can use instead of the trunk version? Or maybe a binary distribution?
On a site-note, why isn't the PSP listed as a supported platform from the libsdl.org website? Isn't there a way to integrate the PSP-port into the official release?
Thanks,
Daniel Albuschat _________________ eat(this); // delicious suicide |
|
| Back to top |
|
 |
daniel-kun
Joined: 06 Feb 2007 Posts: 4
|
Posted: Wed Feb 07, 2007 2:57 am Post subject: |
|
|
Since I haven't had access to the PC where I tried this while creating this post, I could not provide the exact error message. Here is what I get:
| Code: | Making all in src
make[1]: Entering directory `/cygdrive/c/pspdev/SDL/src'
.deps/SDL_error.Plo:1: *** multiple target patterns. Stop.
make[1]: Leaving directory `/cygdrive/c/pspdev/SDL/src'
make: *** [all-recursive] Error 1 |
Strangely, this is from "make" (not "make install"). Though, this had worked before. I ran distclean and re-bootstrapped the autotools trash, which did not help.
I just hate autotools... worst piece of sh*t ever written, imho. _________________ eat(this); // delicious suicide |
|
| Back to top |
|
 |
daniel-kun
Joined: 06 Feb 2007 Posts: 4
|
Posted: Wed Feb 07, 2007 8:34 am Post subject: |
|
|
Well, most likely some incompatible autotools-version have created this mess.
I've set up my Linux box as my new development environment and besides having to install automake-1.9 (only 1.4 was installed) and re-linking /etc/alternatives/automake and /etc/alternatives/aclocal (this is debian stable I'm talking about) to the new version, the setup, compilation and installation of both, the pspdev-toolchain and SDL went very smoothly.
I had the sdl test-samples running quite quickly after finishing the installation.
So I settle for developing on Linux. Well, this is easier in some way anyways, since I work 70% of the time on that box.
This is no solution for the original cygwin-problem, but if someone else comes across this, I'd recommend only installing the version 1.9 of all autotools-related packages, especially automake.
Regards,
Daniel _________________ eat(this); // delicious suicide |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Feb 07, 2007 8:37 am Post subject: |
|
|
| Someone else reported problems with automake 1.10, hopefully at some point I or someone else will get around to resolving them. As for the PSP SDL port, I don't think we've tried pushing it upstream yet, but it's probably close to stable enough that it might be worth it at some point. I do plan on reworking some of the SDL_main stuff shortly, though, to remove the dependency on kernel mode. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|