[SOLVED][fedora 25] Compilation Problems

User avatar
spyjoshx
Member
 
Posts: 17
Joined: Mon Mar 03, 2014 15:51
In-game: spyjoshx

[SOLVED][fedora 25] Compilation Problems

by spyjoshx » Tue Jan 10, 2017 00:49

Not being satisfied with the pre-compiled .rpm, I have recently been trying to compile MT on fedora 25. After installing the following valid fedora packages,
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
Package irrlicht-1.8.4-1.fc25.x86_64 is already installed, skipping.
Package freetype-2.6.5-1.fc25.x86_64 is already installed, skipping.
Package ncurses-6.0-6.20160709.fc25.x86_64 is already installed, skipping.
Package sqlite-3.14.2-1.fc25.x86_64 is already installed, skipping.
Package sqlite-libs-3.14.2-1.fc25.x86_64 is already installed, skipping.
Package leveldb-1.12.0-11.fc24.x86_64 is already installed, skipping.
Package hiredis-0.13.3-2.fc24.x86_64 is already installed, skipping.
(Output of a DNF install)
and after running 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
cmake . -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DENABLE_SOUND=0 -DRUN_IN_PLACE=1
I got this:
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
-- *** Will build version 0.4.15-dev ***
-- Could NOT find Irrlicht (missing:  IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR)
-- Found CURL: /usr/lib64/libcurl.so 
-- cURL support enabled.
-- GetText disabled.
-- Could NOT find Freetype (missing:  FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
-- Could NOT find LuaJit (missing:  LUA_LIBRARY LUA_INCLUDE_DIR)
-- LuaJIT not found, using bundled Lua.
-- Detecting GMP from system failed.
-- Using bundled mini-gmp library.
-- Found GMP: gmp 
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- ncurses not found!
-- Could NOT find PostgreSQL (missing:  PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR)
-- PostgreSQL not found!
-- LevelDB not found!
-- Redis not found!
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find SQLite3 (missing: SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindSQLite3.cmake:8 (find_package_handle_standard_args)
  src/CMakeLists.txt:255 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/spyjoshx/minetest-compile/minetest/CMakeFiles/CMakeOutput.log".
See also "/home/spyjoshx/minetest-compile/minetest/CMakeFiles/CMakeError.log".
I am also attaching CMakeOutput.log and CMakeError.log
EDIT: Website not allowing uploads... Dropbox Link: https://www.dropbox.com/sh/34wwzpyx9ul4 ... 67aBa?dl=0
Last edited by spyjoshx on Tue Jan 10, 2017 16:46, edited 1 time in total.
 

843jdc
Member
 
Posts: 207
Joined: Tue Jan 19, 2016 16:46
GitHub: jdc843
IRC: jdc843
In-game: 843jdc

Re: [fedora 25] Compilation Problems

by 843jdc » Tue Jan 10, 2017 12:07

Hi spyjoshx

I use Fedora 25 also.
I'm not an expert but I think that cmake isn't finding the required libraries using the cmake scripts. I don't know if these scripts are part of cmake or if they are part of the MT package.

I suggest that you use ccmake. It is easy to use and configure MT for compilation.
You can easily specify where cmake is to find the required libraries and get MT to compile.

Good luck!
 

User avatar
Crabman
New member
 
Posts: 2
Joined: Tue Jan 10, 2017 05:12
GitHub: crabman77
IRC: Crabman
In-game: Crabman

Re: [fedora 25] Compilation Problems

by Crabman » Tue Jan 10, 2017 15:19

Hi,

-- Could NOT find Irrlicht (missing: IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR)
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
-- LuaJIT not found, using bundled Lua.
-- Detecting GMP from system failed.
-- Using bundled mini-gmp library.
-- PostgreSQL not found!
-- LevelDB not found!
-- Redis not found!
Could NOT find SQLite3 (missing: SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)


To compile you need the devel files.

https://github.com/minetest/minetest/bl ... E.txt#L117
For Fedora users:
$ sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl* openal* libvorbis* libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel bzip2-libs gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel doxygen spatialindex-devel bzip2-devel
 

User avatar
spyjoshx
Member
 
Posts: 17
Joined: Mon Mar 03, 2014 15:51
In-game: spyjoshx

Re: [fedora 25] Compilation Problems

by spyjoshx » Tue Jan 10, 2017 15:56

I'm installing those packages now. I will let you know how it turns out
 

User avatar
spyjoshx
Member
 
Posts: 17
Joined: Mon Mar 03, 2014 15:51
In-game: spyjoshx

Re: [fedora 25] Compilation Problems

by spyjoshx » Tue Jan 10, 2017 16:46

It worked! Thank you for your help!
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 34 guests

cron