似乎无法安装重新思考数据库在 ubuntu 19.04 上。
我尝试过这个:
source /etc/lsb-release && echo "deb https://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install rethinkdb
但我明白没有候选人问题。
我尝试从源代码构建,但最后出现以下错误:
$ sudo make 安装
[1/233] CC build/release/obj/rdb_protocol/geo/s2/s2.o
In file included from src/rdb_protocol/geo/s2/s2.cc:197:
./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:502:10: error: field ‘bn_’ has incomplete type ‘BIGNUM’ {aka ‘bignum_st’}
BIGNUM bn_;
^~~
In file included from /usr/include/openssl/bn.h:19,
from ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:103,
from src/rdb_protocol/geo/s2/s2.cc:197:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
typedef struct bignum_st BIGNUM;
^~~~~~~~~
In file included from src/rdb_protocol/geo/s2/s2.cc:197:
./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h: In constructor ‘geo::ExactFloat::ExactFloat()’:
./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: error: ‘BN_init’ was not declared in this scope
BN_init(&bn_);
^~~~~~~
./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: note: suggested alternative: ‘BN_print’
BN_init(&bn_);
^~~~~~~
BN_print
make[1]: *** [src/build.mk:392: build/release/obj/rdb_protocol/geo/s2/s2.o] Error 1
make: *** [Makefile:53: make] Error 2
有任何想法吗?