Linux 0.4.10 fresh compilation cant load public serverlist

harryadams26
New member
 
Posts: 3
Joined: Tue Oct 14, 2014 15:17
IRC: Alftand
In-game: Pixel

Linux 0.4.10 fresh compilation cant load public serverlist

by harryadams26 » Wed Oct 15, 2014 16:26

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?
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Linux 0.4.10 fresh compilation cant load public serverli

by sfan5 » Wed Oct 15, 2014 18:22

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.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

harryadams26
New member
 
Posts: 3
Joined: Tue Oct 14, 2014 15:17
IRC: Alftand
In-game: Pixel

Re: Linux 0.4.10 fresh compilation cant load public serverli

by harryadams26 » Wed Oct 15, 2014 18:46

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
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: Linux 0.4.10 fresh compilation cant load public serverli

by Topywo » Wed Oct 15, 2014 19:37

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... "
 

harryadams26
New member
 
Posts: 3
Joined: Tue Oct 14, 2014 15:17
IRC: Alftand
In-game: Pixel

Re: Linux 0.4.10 fresh compilation cant load public serverli

by harryadams26 » Wed Oct 15, 2014 19:45

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
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: Linux 0.4.10 fresh compilation cant load public serverli

by Topywo » Wed Oct 15, 2014 21:55

@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
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: Linux 0.4.10 fresh compilation cant load public serverli

by Topywo » Wed Oct 15, 2014 22:12

@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!
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 23 guests

cron