Am 18.02.2020 um 18:19 schrieb Alessandro Vesely:
On Tue 18/Feb/2020 12:17:09 +0100 Admin Beckspaced wrote:
Dear libzdb users
trying to compile libzdb 3.2 on an opensuse 15.1 box via
./configure --prefix=/usr --libdir=/usr/lib64 --without-postgresql --without-sqlite
make then throws an error, see below ...
how can I fix this?
you could try and patch test/zdbpp.cpp like so:
--- test/zdbpp.cpp.orig 2020-02-18 13:01:34.739330885 +0100 +++ test/zdbpp.cpp 2020-02-18 13:01:53.307573796 +0100 @@ -5,6 +5,8 @@ #include "zdbpp.h" using namespace zdb; +#include <cassert>
- const std::map<std::string, std::string> data { {"Fry", "Ceci n'est pas une pipe"}, {"Leela", "Mona Lisa"},
zdbpp is not going to be installed, it's just a test program for C++.
hth Ale
Hello Ale, thanks a lot for your reply and giving advice ;) actually did a bit of googling and came up with a similar patch.
just added
#include "assert.h"
at the top of zdbpp.cpp and then compile & test finished without errors.
thanks again & good to see that this list is active ;)
Greetings Becki