[vz-dev] Installation vzlogger auf opensuse-13.2

Daniel Spannbauer dspannbauer at web.de
Sun Apr 5 20:14:29 CEST 2015


Moin,

versuche den vzlogger auf opensuse 13.2 zum laufen zu kriegen, scheitere 
jedoch kläglich.

Versuche das ganze nach dieser Anleitung aus dem Wiki:
http://wiki.volkszaehler.org/software/controller/vzlogger/installation_cpp-version

So, habe soweit glaube ich alles installiert, auch sml ist gebaut und 
kopiert, vzlogger selber will aber nicht. Ich fall beim cmake auf die Nase:

--------------------------
lemaker:~/vzlogger # cmake .
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Compiling for target ''
-- checking if -Wno-ignored-qualifiers works
-- Performing Test W_NO_IGNORED_QUALIFIERS
-- Performing Test W_NO_IGNORED_QUALIFIERS - Success
-- FindSml check
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'sml>=0.9'
--   package 'sml>=0.9' not found
-- SML_HOME env is not set, setting it to /usr/local
-- Looking for sml in /usr/local
-- FindMicrohttpd check
-- checking for module 'microhttpd>=0.9'
--   package 'microhttpd>=0.9' not found
-- MICROHTTPD_HOME env is not set, setting it to /usr/local
-- Looking for microhttpd in /usr/local
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- FindJson check
-- checking for module 'json-c>=0.12'
--   found json-c, version 0.12
-- JSON_HOME env is not set, setting it to /usr/local
-- Looking for json in /usr/local
Json-c search: 
'/usr/local/include;/usr/local/include;/usr/local/include;/usr/include'
CMake Error at CMakeLists.txt:85 (message):
   libjson-c is required.

   Install json-c or call cmake -DJSON_HOME=path_to_json_install


-- Configuring incomplete, errors occurred!
See also "/root/vzlogger/CMakeFiles/CMakeOutput.log".
See also "/root/vzlogger/CMakeFiles/CMakeError.log".
---------------------------------------------------------

Was genau sucht das Ding denn?

Gruß

Daniel



More information about the volkszaehler-dev mailing list