I have a question, I have a linux running Debian, can I run your code as witness? or it must be a Ubuntu box?
I have only tried it on ubuntu, but it should run on debian
Try to run at Debian, but I get an error at cmake:
=========== Used Build Configuration =============
-- ENABLE_CPP11 = ON
-- BUILD_EXAMPLES = OFF
-- BUILD_TESTS = OFF
-- WEBSOCKETPP_ROOT = /root/Moonstone/moonstone/libraries/fc/vendor/websocket
pp
-- WEBSOCKETPP_BIN = /root/Moonstone/moonstone/build/libraries/fc/vendor/web
socketpp/bin
-- WEBSOCKETPP_LIB = /root/Moonstone/moonstone/build/libraries/fc/vendor/web
socketpp/lib
-- Install prefix = /usr/local
-- WEBSOCKETPP_BOOST_LIBS =
-- WEBSOCKETPP_PLATFORM_LIBS =
-- WEBSOCKETPP_PLATFORM_TLS_LIBS =
-- OPENSSL_FOUND = TRUE
-- OPENSSL_INCLUDE_DIR = /usr/include
-- OPENSSL_LIBRARIES = /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-
gnu/libcrypto.a
-- OPENSSL_VERSION = 1.0.1t
-- Finished fc module configuration...
-- Moonstone database unity build enabled
-- egenesis: /root/Moonstone/moonstone/genesis.json
-- embed_genesis_args: -t/root/Moonstone/moonstone/libraries/egenesis/egenesis_b
rief.cpp.tmpl---/root/Moonstone/moonstone/build/libraries/egenesis/egenesis_brie
f.cpp-t/root/Moonstone/moonstone/libraries/egenesis/egenesis_full.cpp.tmpl---/ro
ot/Moonstone/moonstone/build/libraries/egenesis/egenesis_full.cpp--genesis-json/
root/Moonstone/moonstone/genesis.json
-- Configuring incomplete, errors occurred!
See also "/root/Moonstone/moonstone/build/CMakeFiles/CMakeOutput.log".
and I look at CMakeOutput.log, don't see any errors, last few lines are:
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> [/usr/lib/gcc/x86
_64-linux-gnu/4.9]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-
gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> [
/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gn
u]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> [/usr/li
b]
implicit libs: [stdc++;m;c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/u
sr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
any pointers?