Page 1 of 1

Linux 0.4.10 fresh compilation cant load public serverlist

PostPosted: Wed Oct 15, 2014 16:26
by harryadams26
Hello minetest community,
this is my first post and this could be a simple mistake i have
made but i compiled it with the instructions mentioned in the
official instructions but when i try and load the public serverlist
it just doesn't load. The error message in the terminal is:

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
17:23:41: ERROR[AsyncWorkerThread_0]: httpfetch_sync: unable to fetch servers.minetest.net/list because USE_CURL=0
17:23:41: ERROR[AsyncWorkerThread_1]: httpfetch_sync: unable to fetch servers.minetest.net/list because USE_CURL=0


Im running linux mint 17 64-bit and minetest 0.4.10-dev
is there any solution for this?

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 18:22
by sfan5
this could be a simple mistake
It is, you forgot to compile with cURL support.
Install the development packages for cURL and pass -DENABLE_CURL=1 to CMake to get it to work.

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 18:46
by harryadams26
i dont understand how to do this. i only copy and paste the commands from the instructions on the forums. I have no idea how to use CMake and pass that command. Und ich kann deutsch sprechen, obwohl am lieber englisch sprechen weil meinen Deutsch nicht so gut ist.

Danke

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 19:37
by Topywo
Which instructions?

There are instructions halfway down this link:

https://github.com/minetest/minetest

Following the instructions works for me. Do/did you miss the blue dependency?

" Compiling on GNU/Linux:
-----------------------

Install dependencies. Here's an example for Debian/Ubuntu:
$ apt-get 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

etc... "

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 19:45
by harryadams26
im hopeless at this stuff and i was wondering if anyone could post a "for dummies" explanation.

btw i used this website to compile it
http://dev.minetest.net/Compiling_Minetest

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 21:55
by Topywo
@harryadams26
You probably did allright, but got an outdated instruction, missing 2 dependencies:

As in your post:
$ apt-get 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

GitHub link:
$ apt-get 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

Re: Linux 0.4.10 fresh compilation cant load public serverli

PostPosted: Wed Oct 15, 2014 22:12
by Topywo
@harryadams
I'll build a new latest version of minestest and will copy/paste the lines I used here, so you can copy/paste them in you terminal:

sudo apt-get 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

<enter>
-- Enter your password
<enter>

wget https://github.com/minetest/minetest/tarball/master -O master.tar.gz

<enter>

tar xf master.tar.gz

<enter>

cd minetest-minetest-d1ccc64

<enter>

cd games/

<enter>

wget https://github.com/minetest/minetest_ga ... all/master -O minetest_game.tar.gz

<enter>

tar xf minetest_game.tar.gz

<enter>

mv minetest-minetest_game-* minetest_game

<enter>

cd ..

<enter>

cmake . -DRUN_IN_PLACE=1

<enter>

make -j2

<enter>

exit

<enter>


NB!
At this moment this is the latest version: minetest-minetest-d1ccc64
When building another time, just before you do cd minetest-minetest-d1ccc64 look in your home folder. There probably appeared a new minetest-minetest-folder with a different letter/number combination. In that case use that one instead of d1ccc64.

make -j2 can take some time

Good luck!