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?
thanks & greetings
Becki
cx20:~/software/libzdb/libzdb-3.2 # make
make all-recursive
make[1]: Entering directory '/root/software/libzdb/libzdb-3.2'
Making all in .
make[2]: Entering directory '/root/software/libzdb/libzdb-3.2'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/root/software/libzdb/libzdb-3.2'
Making all in test
make[2]: Entering directory '/root/software/libzdb/libzdb-3.2/test'
g++ -DHAVE_CONFIG_H -I/usr/include/mysql
-I/usr/include/mysql/mariadb -I../zdb -std=c++17 -g -O2 -c -o
zdbpp-zdbpp.o `test -f 'zdbpp.cpp' || echo './'`zdbpp.cpp
zdbpp.cpp: In function ‘void testQuery(zdb::ConnectionPool&)’:
zdbpp.cpp:60:9: error: ‘assert’ was not declared in this scope
assert(result.columnCount() == 4);
^~~~~~
zdbpp.cpp:60:9: note: suggested alternative: ‘qsort’
assert(result.columnCount() == 4);
^~~~~~
qsort
make[2]: *** [Makefile:445: zdbpp-zdbpp.o] Error 1
make[2]: Leaving directory '/root/software/libzdb/libzdb-3.2/test'
make[1]: *** [Makefile:758: all-recursive] Error 1
make[1]: Leaving directory '/root/software/libzdb/libzdb-3.2'
make: *** [Makefile:503: all] Error 2