Build for Unix (like GNU/Linux)

From X-Moto
Revision as of 17:57, 29 August 2006 by 88.113.110.95 (talk) (Some libraries are missing?)
Jump to: navigation, search

Deutsch - Norsk

Normal steps

Get the sources

The tarball is avaible on http://xmoto.free.fr/index.php?page=news.

Uncompress the tarball

tar zxf xmoto-x.y.z-src.tar.gz
cd xmoto-x.y.z

Compile

./configure [--prefix=/path_to_install]
make

Install

make install

Common errors

Did you install a compiler?

Some libraries are missing?

SDL_mixer

if this error message appears:

configure: error: SDL_mixer required

In Ubuntu type:

sudo apt-get install libsdl-mixer1.2-dev

liblua

if this error message appears:

configure: error: liblua5.1

in Ubuntu type:

sudo apt-get install liblua5.1-0-dev