Updated Linux Compiling Instructions.

DoyleChris
Member
 
Posts: 252
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

Updated Linux Compiling Instructions.

by DoyleChris » Sat Aug 10, 2019 14:57

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: 145
Joined: Wed Dec 20, 2017 23:06
Location: Nice, France

Re: Updated Linux Compiling Instructions.

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

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: 112
Joined: Tue Feb 05, 2013 16:06
Location: Ohio
GitHub: doyousketch2
In-game: Sketch2

Re: Updated Linux Compiling Instructions.

by doyousketch2 » Thu Aug 15, 2019 02:17

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: 2086
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Updated Linux Compiling Instructions.

by sofar » Thu Aug 15, 2019 02:25

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: 929
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: Updated Linux Compiling Instructions.

by runs » Wed Aug 21, 2019 14:59

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
Member
 
Posts: 330
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: Updated Linux Compiling Instructions.

by Pyrollo » Wed Aug 21, 2019 15:11

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: 2086
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Updated Linux Compiling Instructions.

by sofar » Fri Aug 23, 2019 04:24

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: 929
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: Updated Linux Compiling Instructions.

by runs » Fri Aug 23, 2019 17:11

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.
 


Return to General Discussion



Who is online

Users browsing this forum: No registered users and 2 guests