英文:
code.google.com/p/go.crypto/pbkdf2 file not found?
问题
我想搭建juju charm-store服务器,但是当我尝试构建/安装时,出现了以下错误:
imports code.google.com/p/go.crypto/pbkdf2: exec: "hg": 可执行文件未找到
charm-store仓库可以在这里(github)找到。
我还尝试使用以下命令获取软件包,但失败了:
go get -u -v -t github.com/juju/charmstore/..
。
有人知道如何解决这个问题吗?
英文:
I want to make juju charm-store server, but when I try to build/install it gives me this error:
imports code.google.com/p/go.crypto/pbkdf2: exec: "hg": executable file not found
The charm-store repository can be found here (github).
I also tried to get the package using the following command but it failed:
go get -u -v -t github.com/juju/charmstore/..
.
Does anyone know how to solve this problem?
答案1
得分: 4
这意味着其中一个依赖项(code.google.com/p/go.crypto/pbkdf2
)位于Mercurial存储库中。
你需要安装Mercurial才能完成go get
或make
的过程。
例如,在Ubuntu上:
sudo apt-get install mercurial meld
注意:go 1.4(2014年第四季度)将会将该包重命名为**golang.org/x/crypto
**。
英文:
That means one of the dependencies (here code.google.com/p/go.crypto/pbkdf2
) is in a Mercurial repo.
You need to install Mercurial in order for go get
or the make
to complete the process.
For instance, on Ubuntu:
sudo apt-get install mercurial meld
Note: go 1.4 (Q4 2014) will rename that package in golang.org/x/crypto
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论