I have just tried to compile Minetest manually by fooling these instructions:
https://github.com/minetest/minetest/blob/master/README.txtAfter issuing the make command the compile runs to the point of linking but then fails:
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
[100%] Building CXX object src/CMakeFiles/minetest.dir/game.cpp.o
/root/minetest/minetest-minetest-f70378f/src/debug.h: In member function ‘virtual std::streamsize Debugbuf::xsputn(const char*, std::streamsize)’:
/root/minetest/minetest-minetest-f70378f/src/debug.h:108:45: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/root/minetest/minetest-minetest-f70378f/src/debug.h: In member function ‘virtual int Debugbuf::overflow(int)’:
/root/minetest/minetest-minetest-f70378f/src/debug.h:94:46: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/root/minetest/minetest-minetest-f70378f/src/util/../debug.h: In member function ‘virtual std::streamsize Debugbuf::xsputn(const char*, std::streamsize)’:
/root/minetest/minetest-minetest-f70378f/src/util/../debug.h:108:45: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/root/minetest/minetest-minetest-f70378f/src/util/../debug.h: In member function ‘virtual int Debugbuf::overflow(int)’:
/root/minetest/minetest-minetest-f70378f/src/util/../debug.h:94:46: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
[100%] Building CXX object src/CMakeFiles/minetest.dir/main.cpp.o
/root/minetest/minetest-minetest-f70378f/src/debug.h: In member function ‘virtual std::streamsize Debugbuf::xsputn(const char*, std::streamsize)’:
/root/minetest/minetest-minetest-f70378f/src/debug.h:108:45: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/root/minetest/minetest-minetest-f70378f/src/debug.h: In member function ‘virtual int Debugbuf::overflow(int)’:
/root/minetest/minetest-minetest-f70378f/src/debug.h:94:46: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/root/minetest/minetest-minetest-f70378f/src/main.cpp: In function ‘int main(int, char**)’:
/root/minetest/minetest-minetest-f70378f/src/main.cpp:1677:28: warning: ‘dtime’ may be used uninitialized in this function [-Wuninitialized]
Linking CXX executable ../bin/minetest
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[2]: *** [bin/minetest] Error 1
make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
make: *** [all] Error 2
If you need any more information just ask and I will do my best to provide it.
EDIT: I realized that the ebuild failed to pull in glu as a dependency for minetest. After installing it the manual compile completed and the game launches. Now I just need to figure out which mods I want.
Zedm0n