Page 1 of 1

Compiling on openSUSE

PostPosted: Thu Dec 05, 2013 08:07
by Casimir
I'm new to openSUSE so please help me if something is wrong.

Needed for compiling:

Install libIrrlicht1_8 from http://software.opensuse.org/package/libIrrlicht1_8 and then the following.
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
zypper install cmake build irrlicht-devel libvorbis-devel libbz2-devel libpng12-devel libjpeg8-devel libXxf86vm-devel sqlite3-devel libogg-devel irrlicht-data gcc gcc-c++ openal-soft-devel Mesa-libGL-devel


Then you can compile as usual.
It might happen that the game appears at the bottom left with everything else blue. Resizing the window should fix this temporally.


==Original post==

I'm now running openSUSE on my laptop and since it is about one thousand times faster than my desktop-pc it would be nice to run minetest on it. But the latest version in the repos is 0.4.7 and it is not working (screenshot).

Does someone know how to compile minetest on openSUSE? What dependencies do I have to install? And if someone knows how to use the open build service SUSE offers, that would be awesome.

Running cmake . -DRUN_IN_PLACE=1 I get:
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
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- *** Will build version 0.4.8-dev ***
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/include/irrlicht
-- IRRLICHT_LIBRARY = IRRLICHT_LIBRARY-NOTFOUND
-- Could NOT find IRRLICHT (missing:  IRRLICHT_LIBRARY)
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- CURL_INCLUDE_DIR = CURL_INCLUDE_DIR-NOTFOUND
-- CURL_LIBRARY = CURL_LIBRARY-NOTFOUND
-- CURL_DLL =
-- GetText disabled
-- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
-- Sound enabled, but OpenAL not found!
-- Sound enabled, but Vorbis libraries not found!
CMake Error at src/CMakeLists.txt:80 (message):
  Sound enabled, but cannot be used.

  To continue, either fill in the required paths or disable sound.
  (-DENABLE_SOUND=0)


-- Configuring incomplete, errors occurred!

PostPosted: Thu Dec 05, 2013 09:00
by Calinou
You could search for "irrlicht", "vorbis", "gcc", "gettext" and such in your package manager.

PostPosted: Thu Dec 05, 2013 09:33
by Casimir
I installed some things.
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
zypper install cmake build irrlicht-devel libvorbis-devel libbz2-devel libpng12-devel libjpeg8-devel libXxf86vm-devel sqlite3-devel libogg-devel irrlicht-data gcc gcc-c++

Don't know if all of them are necessary but it works partly. I have to use -DENABLE_SOUND=0 to compile. And then I have the same bug as before. Probably because of the graphics driver.

PostPosted: Thu Dec 05, 2013 14:44
by addi
Casimir wrote:I'm now running openSUSE on my laptop and since it is about one thousand times faster than my desktop-pc it would be nice to run minetest on it. But the latest version in the repos is 0.4.7 and it is not working (screenshot).


i have the same problem. if you find a solution it would be great if you tell me it
sometimes it works correctly if you change the window size but it always jumps back after a short time

PostPosted: Thu Dec 05, 2013 20:38
by Casimir
Got it compiled now, see first post (freeminer works too). But the Bug remains.

PostPosted: Mon Dec 09, 2013 10:22
by Casimir
I keep getting this error. Could be the reason for the bug. Any ideas?
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
[. . .]
creative inventory size: 150
10:59:28: ACTION[ServerThread]: singleplayer [::1] joins game. List of players: singleplayer
Could not open file of texture: character.png
Loaded mesh: character.x
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
PNG warning: iCCP: known incorrect sRGB profile
Font size: 8 16