Page 1 of 1

Updated Linux Compiling Instructions.

PostPosted: Sat Aug 10, 2019 14:57
by DoyleChris
I have done a clean install of Mint Linux 19.2 and tried running my minetest server and i received an error.
A person on IRC said to recompile the Minetest-Server.
But there is no up to date guide on how to compile a linux server version.
If someone could help me out that would be great.

Re: Updated Linux Compiling Instructions.

PostPosted: Sat Aug 10, 2019 20:36
by R-One
Hello

you give us information so that we can help.

as a first step, For troubleshooting check the debug.txt file in ~ / .minetest /

Which could inform us precisely about the error.

Or else launch Minetest from a terminal also to have the error precisely.

Re: Updated Linux Compiling Instructions.

PostPosted: Thu Aug 15, 2019 02:17
by doyousketch2
sudo apt update

sudo apt install git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev notify-osd libspatialindex-dev

## note libpng12 is version 16 now, and they just call it libpng-dev
## also libjpeg8 is now called libjpeg-dev

mkdir games && cd games && git clone https://github.com/minetest/minetest.git && cd minetest/games && git clone https://github.com/minetest/minetest_game.git && git clone https://github.com/minetest/minimal.git

cd .. ; cmake . -DRUN_IN_PLACE=1 -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 && make -j$(nproc) && cd bin && notify-send 'Minetest ready' "./minetest to begin"

Re: Updated Linux Compiling Instructions.

PostPosted: Thu Aug 15, 2019 02:25
by sofar
I'm shocked nobody links the actual compile instructions:

https://github.com/minetest/minetest#compiling

It specifically covers topics such as "how to compile a server", and contains the above suggested solution as well as much, much more information.

Re: Updated Linux Compiling Instructions.

PostPosted: Wed Aug 21, 2019 14:59
by runs
sofar wrote:I'm shocked nobody links the actual compile instructions:

https://github.com/minetest/minetest#compiling

It specifically covers topics such as "how to compile a server", and contains the above suggested solution as well as much, much more information.


I am planing to make a server. Default Minestest is not suitable for such task?

Re: Updated Linux Compiling Instructions.

PostPosted: Wed Aug 21, 2019 15:11
by Pyrollo
sofar wrote:I'm shocked nobody links the actual compile instructions:

https://github.com/minetest/minetest#compiling

It specifically covers topics such as "how to compile a server", and contains the above suggested solution as well as much, much more information.


So simple to find, I guess we all suppose these instruction has been read first ;)

Re: Updated Linux Compiling Instructions.

PostPosted: Fri Aug 23, 2019 04:24
by sofar
runs wrote:I am planing to make a server. Default Minestest is not suitable for such task?


Totally fine for making a server. The only reason to specifically compile the separate server is when you want to run it without e.g. X11 libraries or modify the linked features.

Re: Updated Linux Compiling Instructions.

PostPosted: Fri Aug 23, 2019 17:11
by runs
sofar wrote:
runs wrote:I am planing to make a server. Default Minestest is not suitable for such task?


Totally fine for making a server. The only reason to specifically compile the separate server is when you want to run it without e.g. X11 libraries or modify the linked features.


Thanx for the clarification.