我想制作 juju charm-store 服务器,但是当我尝试构建/安装时,它给了我这个错误:
imports code.google.com/p/go.crypto/pbkdf2: exec: "hg": executable file not found
可以找到 charm-store 存储库 here (github)。
我还尝试使用以下命令获取包,但失败了:
go get -u -v -t github.com/juju/charmstore/..
.
有人知道如何解决这个问题吗?
最佳答案
这意味着依赖项之一(此处 code.google.com/p/go.crypto/pbkdf2
)位于 Mercurial repo 中.
您需要install Mercurial以便 go get
或 make
完成该过程。
例如,on Ubuntu :
sudo apt-get install mercurial meld
注意:go 1.4(2014 年第 4 季度)将 rename that package在golang.org/x/crypto
。
关于go - code.google.com/p/go.crypto/pbkdf2 文件未找到?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25283997/