My way to build Minetest with debian:
Run this single line as root to install all needed files:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
aptitude install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev
And then run this script as user in the path for minetest:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
wget https://github.com/minetest/minetest/tarball/master -O master.tar.gz
tar xf master.tar.gz
rm master.tar.gz
mv minetest-minetest-* minetest
cd minetest
cd games/
wget https://github.com/minetest/common/tarball/master -O common.tar.gz
tar xf common.tar.gz
rm common.tar.gz
mv minetest-common-* common
wget https://github.com/minetest/minetest_game/tarball/master -O minetest_game.tar.gz
tar xf minetest_game.tar.gz
rm minetest_game.tar.gz
mv minetest-minetest_game-* minetest_game
cd ..
cmake . -DRUN_IN_PLACE=1
make -j2
It runs in Debian Unstable and Debian Testing. I have no Debian Stable, so, I had not tested it on stable.