STF 安装 stf 过程中,Ubuntu 下安装 rethinkdb 总是失败,求帮助

富富 · May 25, 2018 · Last by 测试生 replied at December 03, 2018 · 3474 hits

先按照教程安装出现如下错误

fu@fu-MS-7846:~/sdk/rethinkdb-2.3.6$ source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
deb http://download.rethinkdb.com/apt bionic main
fu@fu-MS-7846:~/sdk/rethinkdb-2.3.6$ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
OK
fu@fu-MS-7846:~/sdk/rethinkdb-2.3.6$ sudo apt-get update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
命中:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
忽略:4 http://download.rethinkdb.com/apt bionic InRelease
命中:5 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
错误:6 http://download.rethinkdb.com/apt bionic Release
404 Not Found [IP: 72.14.189.19 80]
命中:7 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
正在读取软件包列表... 完成
E: 仓库 http://download.rethinkdb.com/apt bionic Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

搜到一篇文章把http改成https了,问题依旧,然后换源码安装

源码总是make失败,都是按照官方网站上的安装的,实在没头绪

In file included from src/rdb_protocol/geo/s2/s2.cc:197:0:
./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:32:0,
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:0:
./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
src/build.mk:390: recipe for target 'build/release/obj/rdb_protocol/geo/s2/s2.o' failed
make[1]: *** [build/release/obj/rdb_protocol/geo/s2/s2.o] Error 1
Makefile:52: recipe for target 'make' failed
make: *** [make] Error 2

共收到 5 条回复 时间 点赞
1Floor has been deleted

我是用UBUNTU14.04安装的,你试下呗

既然用的linux,为什么不用docker试试,反正stf也支持docker安装。错了镜像一删继续装,不怕把系统搞炸

请问一下问题解决了吗?我遇到了同样的问题

用 ubuntu 低版本试试,rethinkdb不支持ubuntu18

rethinkdb 官网提供的方法无法在 ubuntu18 上面安装。安装 https://github.com/srh/rethinkdb/releases/tag/v2.3.6.srh.1 可以解决。

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up