Did i need to install leveldb before compiling?

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Did i need to install leveldb before compiling?

by amadin » Sun Nov 15, 2015 21:01

Did i need to manually install leveldb before compiling server whith DENABLE_LEVELDB=1 on linux?

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 . -DRUN_IN_PLACE=1 -DBUILD_SERVER=1 -DBUILD_CLIENT=0 -DENABLE_LEVELDB=1
-- *** Will build version 0.4.13-dev ***
-- Found Irrlicht: /usr/lib/libIrrlicht.so
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
CMake Warning at src/CMakeLists.txt:54 (message):
  cURL is required to announce to the server list


-- GetText disabled.
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.4.11")
-- Freetype enabled.
-- Using GMP provided by system.
-- Found GMP: /usr/lib/libgmp.so
-- Found Curses: /usr/lib/libcurses.so
-- ncurses console enabled.
-- LevelDB not found!
-- Redis not found!
-- Found SQLite3: /usr/lib/libsqlite3.so
-- Using bundled JSONCPP library.
-- SpatialIndex not found!
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Found Doxygen: /usr/bin/doxygen (found version "1.7.6.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/sda3/minetest-test
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Did i need to install leveldb before compiling?

by Calinou » Mon Nov 16, 2015 12:24

In Debian and Ubuntu, LevelDB is available as libleveldb-dev. In Fedora, it is leveldb-devel.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron