code.google.com/p/go.crypto/pbkdf2文件找不到了吗?

huangapple go评论85阅读模式
英文:

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 getmake的过程。
例如,在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.

huangapple
  • 本文由 发表于 2014年8月13日 18:37:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/25283997.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定