Menu

Fedora

brooss

Fedora 17

SDL2

TumbleGonk requires SDL2 (and SDL2_image and SDL2_mixer). There are no official packages available so it is required to compile SDL2 from source.

First get the required development tools.

su -c 'yum install gcc-c++ automake autoconf *mercurial libogg-devel libvorbis-devel libpng-devel mesa-libGLES-devel mesa-libGLU-devel mesa-libEGL-devel pulseaudio-libs-devel git libvpx-devel'

Next get the SDL SDL_mixer and SDL_image source code from Mercurial

hg clone http://hg.libsdl.org/SDL

hg clone http://hg.libsdl.org/SDL_image

hg clone http://hg.libsdl.org/SDL_mixer

Now compile and install SDL2

cd SDL
mkdir build
cd build
../configure --prefix=/usr
make
su -c 'make install'

Next repeat for SDL_image

cd ../../SDL_image
mkdir build
cd build
../configure --prefix=/usr
make
su -c 'make install'

And SDL_mixer

cd ../../SDL_mixer
mkdir build
cd build
../configure --prefix=/usr
make
su -c 'make install'
cd ../..

Building

Get the TumbleGonk source from git

git clone git://git.code.sf.net/p/tumblegonk/code tumblegonk-code

Finally configure, compile and install TumbleGonk

cd tumblegonk-code
autoreconf -i
./configure --prefix=/usr/
make
su -c 'make install'


Related

Wiki: Home

MongoDB Logo MongoDB