安装流动性时出现错误57
1 个回答
- 投票数
-
- 2019-06-07
实际上,
error 57: Synopsis and description must not be both empty
,应视为opam发出的警告.最后给出失败的原因.这是由于缺少一些系统依赖性.重新编译流动性之前,请尝试按以下步骤安装它们:sudo apt-get install libcurl4-gnutls-dev libsodium-dev
Actually,
error 57: Synopsis and description must not be both empty
should be seen as a warning emitted by opam. The reason of the failure is given at the end. It's due to absence of some system dependencies. Try to install them as follows before recompiling Liquidity:sudo apt-get install libcurl4-gnutls-dev libsodium-dev
-
我尝试`sudo apt-getinstall libcurl4-gnutls-dev libsodium-dev`并得到:`s-dev libsodium-dev 正在阅读包装清单...完成 建立依赖树 正在读取状态信息...完成 E:无法找到软件包libcurl4-gnutls-dev E:无法找到软件包libsodium-dev `I try `sudo apt-get install libcurl4-gnutls-dev libsodium-dev` and get this: `s-dev libsodium-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libcurl4-gnutls-dev E: Unable to locate package libsodium-dev `
- 0
- 2019-06-07
- Chmoshk
-
尝试`sudo apt-get update`更新软件包缓存,然后重试`sudo apt-getinstall ...`try `sudo apt-get update` to update packages cache before re-trying `sudo apt-get install ...`
- 1
- 2019-06-07
- iguerNL
-
我也正在运行Ubuntu 18.04,`apt-cache search libsodium-dev`返回:`libsodium-dev-网络通信,加密和签名库-标头.您可能还想在VM上尝试此命令,以查看是否找到了软件包.如果找不到该软件包,则可能是`/etc/apt/sources.list `不包含所有"标准"来源I'm running Ubuntu 18.04 as well, and `apt-cache search libsodium-dev` returns: `libsodium-dev - Network communication, cryptography and signaturing library - headers`. You may want to also try this command on your VM to see if it finds the package. If the package is not found then, maybe `/etc/apt/sources.list ` does not contain all "standard" sources
- 0
- 2019-06-07
- iguerNL
-
是的谢谢!YEAH! Thank you!
- 0
- 2019-06-07
- Chmoshk
我正在按照以下说明在具有Ubuntu 18.04.2 LTS的VM上安装Liquidity: http://www.liquidity-lang.org/doc/installation/index.html .一切顺利,直到第4阶段:安装流动性依赖项:
make build-deps
.输入此命令后,我收到错误消息:我不是一个非常有经验的Linux用户.我究竟做错了什么?请帮忙