Updated Linux Compiling Instructions.

Post Reply
DoyleChris
Member
Posts: 265
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

Updated Linux Compiling Instructions.

by DoyleChris » Post

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.

R-One
Member
Posts: 160
Joined: Wed Dec 20, 2017 23:06
Location: Nice, France

Re: Updated Linux Compiling Instructions.

by R-One » Post

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.

User avatar
doyousketch2
Member
Posts: 115
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2
Location: Ohio
Contact:

Re: Updated Linux Compiling Instructions.

by doyousketch2 » Post

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"

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Updated Linux Compiling Instructions.

by sofar » Post

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.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Updated Linux Compiling Instructions.

by runs » Post

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?

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: Updated Linux Compiling Instructions.

by Pyrollo » Post

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 ;)
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Updated Linux Compiling Instructions.

by sofar » Post

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.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Updated Linux Compiling Instructions.

by runs » Post

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests