Difference between revisions of "Build for Unix (like GNU/Linux)"
m (Debian based distros) |
m (list) |
||
Line 21: | Line 21: | ||
These commands should work in all debian based distros. | These commands should work in all debian based distros. | ||
+ | List of debian based distros - <a href="http://distrowatch.com/dwres.php?resource=independence">List</a> | ||
'''SDL_mixer''' | '''SDL_mixer''' |
Revision as of 20:22, 18 December 2007
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?
These commands should work in all debian based distros. List of debian based distros - <a href="http://distrowatch.com/dwres.php?resource=independence">List</a>
SDL_mixer
if this error message appears:
configure: error: SDL_mixer required
In Debian/Ubuntu type:
sudo apt-get install libsdl-mixer1.2-dev
liblua
if this error message appears:
configure: error: liblua5.1
in Debian/Ubuntu type:
sudo apt-get install liblua5.1-0-dev
libode0
if this error message appears:
configure: error: libode or libode0 required
in Debian/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 Debian/Ubuntu type:
sudo apt-get install build-essential
sqlite3
if this error message appears:
configure: error: "sqlite3 required"
in Debian/Ubuntu type:
sudo apt-get install libsqlite3-dev
zlib
if this error message appears:
configure: error: zlib required
in Debian/Ubuntu type:
sudo apt-get install zlib1g-dev
libjpeg
if this error message appears:
configure: error: libjpeg required
in Debian/Ubuntu type:
sudo apt-get install libjpeg62-dev
libpng
if this error message appears:
configure: error: libpng required
in Debian/Ubuntu type:
sudo apt-get install libpng12-dev
libbz2
if this error message appears:
configure: error: libbz2 required
in Debian/Ubuntu type:
sudo apt-get install libbz2-dev
glu
if this error message appears:
configure: error: glu required
in Debian/Ubuntu type:
sudo apt-get install libglu1-mesa-dev
SDL_ttf
if this error message appears:
configure: error: SDL_ttf lib required
in Debian/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 Debian/Ubuntu type:
sudo apt-get install liblualib50
libcurl
if this error message appears:
configure: error: libcurl required
in Debian/Ubuntu type:
sudo apt-get install libcurl4-openssl-dev