Build for Unix (like GNU/Linux)
Deutsch - Català - Español - Norsk
Contents
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
libode0
if this error message appears:
configure: error: libode or libode0 required
in Ubuntu type (should work?):
sudo apt-get install libode0-dev
build-essential
if this error message appears:
configure: error: compiler can not create exectables
in Ubuntu type:
sudo apt-get install build-essential
sqlite3
if this error message appears:
configure: error: "sqlite3 required"
in Ubuntu type:
sudo apt-get install libsqlite3-dev
zlib
if this error message appears:
configure: error: zlib required
in Ubuntu type:
sudo apt-get install zlib1g-dev
libjpeg
if this error message appears:
configure: error: libjpeg required
in Ubuntu type:
sudo apt-get install libjpeg62-dev
libpng
if this error message appears:
configure: error: libpng required
in Ubuntu type:
sudo apt-get install libpng12-dev
libbz2
if this error message appears:
configure: error: libbz2 required
in Ubuntu type:
sudo apt-get install libbz2-dev
glu
if this error message appears:
configure: error: glu required
in Ubuntu type:
sudo apt-get install libglu1-mesa-dev
SDL_ttf
if this error message appears:
configure: error: SDL_ttf lib required
in Ubuntu type:
sudo apt-get install libsdl-ttf2.0-dev
liblualib50
if this error message appears:
configure: line 7589: exit: liblualib50: numeric argument required
in Ubuntu type:
sudo apt-get install liblualib50
libcurl
if this error message appears:
configure: error: libcurl required
in Ubuntu type:
sudo apt-get install libcurl4-openssl-dev