The thing is if you installed some bits of SDL from your distro and some bits from source, some of the files will end up in /usr/include and some in /usr/local/include. The 'sdl-config' script called by make usually adds the appropriate include directories - but if they are spread all over your system, then all bets are off. You need to either modify the Makefile to add an include dir ( -I/usr/local/lib possibly ) or when building extra SDL libs from source, when you run configure, do it as:
./configure --prefix=/top/level/path/to/wherever/SDL/already/is
for example, if you install SDL from your distro but your distro doesn't have a development library for SDL_gfx (for example), your existing SDL installation is likely to be in /usr/lib, /usr/include etc. So:
./configure --prefix=/usr
then make, followed by make install as root.
However, I'd be surprised if Debian doesn't have everything you need pre-packaged - if it does, just use the pre-packaged things.
You may also want to check that your 3D hardware is supported. If you have an nvidia card then you're stuffed - nvidia only release drivers that work on x86. If you have ATi of the right vintage, these have open source drivers and therefore are supported on all platforms. New ATi cards are again only supported under x86 by closed source drivers.
This won't of course change the build (the nightly builds for example are done on a headless machine with no hardware 3D or even X11 installed), but if your 3D hardware isn't supported, the software renderer is appalingly slow (think 4fps!)
building from source for Linux PPC
Moderators: winston, another_commander, Getafix
Edit: nevermind, downloaded the tarbals, compiling now
Okay, I'm going to try anew.
But I'm confused how to get the svn stuff going? In the Wiki HowTo, svn seems recommended, so...
I installed svn, then typed
was a bad decision, looks like it checked a lot of stuff I won't use, like Growl etc...
I'm reading the manual, but it is quite elaborate....
Also, GNUStep said:
I put it in the bash.bashrc, but what else am I supposed to do? To actually run the init?
(Yeah, I know: mr UeberN00b...)
or should I stick with the tarballs?
Okay, I'm going to try anew.
But I'm confused how to get the svn stuff going? In the Wiki HowTo, svn seems recommended, so...
I installed svn, then typed
and got a lot of files scrolling by, but I'm not sure what happened... Are these files now downloaded? Where? And I guess just blindly copying svn checkout svn://svn.berlios.de/yourproject/trunksvn checkout svn://svn.berlios.de/yourproject/trunk
was a bad decision, looks like it checked a lot of stuff I won't use, like Growl etc...
I'm reading the manual, but it is quite elaborate....
Also, GNUStep said:
Code: Select all
Now run the GNUstep initialization script (put this in your
.bashrc or other type of startup script). Note the '.' at the
beginning of the line.
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
(Yeah, I know: mr UeberN00b...)
or should I stick with the tarballs?
Sound, fullscreen, windowed, pretty decent framerate.
But... As soon as I hit F1, either during the breakpattern or seconds thereafter the app quits, GGGGRRRRRR!!!
Code: Select all
Error: Rage 128 timed out... exiting
Oh... Also get a OPENGL_DEBUG GL_ERROR (1280) 'invalid enum erant' in: Universe before doing anything
during initialisation of the universe, but it doesn't crash it.
That svn URI is only an example, but I think usually you should stick with released tarballs.Rxke wrote:Edit: nevermind, downloaded the tarbals, compiling now
But I'm confused how to get the svn stuff going? In the Wiki HowTo, svn seems recommended, so...
I installed svn, then typedand got a lot of files scrolling by, but I'm not sure what happened... Are these files now downloaded? Where? And I guess just blindly copying svn checkout svn://svn.berlios.de/yourproject/trunksvn checkout svn://svn.berlios.de/yourproject/trunk
was a bad decision, looks like it checked a lot of stuff I won't use, like Growl etc...
Look at SVN documentation at wiki.debian.org/SVN if you want to learn more about SVN.Rxke wrote:or should I stick with the tarballs?