Libring compilation fails
Hello,
I'm trying to build libring with this commit 07188b4a717e5ac6e582d71c895b74fbbfd02b24
and it fails.
Question: are you moving to meson? I'm building with the gnu build system, but I get this:
CXX libringacc_la-archive_account_manager.lo
CXX libringacc_la-server_account_manager.lo
CXX libringacc_la-namedirectory.lo
server_account_manager.cpp: In member function ‘void jami::ServerAccountManager::authFailed(jami::ServerAccountManager::TokenScope, int)’:
server_account_manager.cpp:239:91: error: ‘void dht::http::Request::terminate(const error_code&)’ is private within this context
req->terminate(code == 0 ? asio::error::not_connected : asio::error::access_denied);
^
In file included from server_account_manager.cpp:23:0:
/gnu/store/j89hgwcmm1wpnhq2scd87am2idxw0dmi-opendht-2.1.4/include/opendht/http.h:319:10: note: declared private here
void terminate(const asio::error_code& ec);
^~~~~~~~~
make[4]: *** [Makefile:722: libringacc_la-server_account_manager.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/guix-build-libring-20200708-guix-0.07188b4.drv-0/libring-source-without-contrib-20200708-guix-checkout/src/jamidht'
make[3]: *** [Makefile:772: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guix-build-libring-20200708-guix-0.07188b4.drv-0/libring-source-without-contrib-20200708-guix-checkout/src/jamidht'
make[2]: *** [Makefile:1042: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-libring-20200708-guix-0.07188b4.drv-0/libring-source-without-contrib-20200708-guix-checkout/src'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libring-20200708-guix-0.07188b4.drv-0/libring-source-without-contrib-20200708-guix-checkout'
make: *** [Makefile:461: all] Error 2
command "make" "-j" "10" failed with status 2
builder for `/gnu/store/13qsw49j735w0frids4kpmsj7ly1768l-libring-20200708-guix-0.07188b4.drv' failed with exit code 1