滑动安装go-ethereum依赖项和bidmint依赖项

时间:2018-09-04 10:17:16

标签: go ethereum go-ethereum glide-golang tendermint

我正在使用“ glide”来管理我的go包,这是我的glide.yaml:

package: github.com/my-project
import:
- package: github.com/ethereum/go-ethereum
  version: 1.8.14
  subpackages:
  - cmd/utils
  - common
  - common/hexutil
  - consensus/ethash
  - core
  - core/state
  - core/types
  - core/vm
  - eth
  - ethdb
  - event
  - log
  - node
  - p2p
  - params
  - rlp
  - rpc
- package: github.com/tendermint/tendermint
  version: 0.23.0
  subpackages:
  - abci/types
  - libs/log
  - rpc/lib/client
- package: gopkg.in/urfave/cli.v1
testImport:
- package: github.com/stretchr/testify
  subpackages:
  - assert
- package: github.com/tendermint/go-amino

当我运行glide install时,会出现一些错误:

[INFO]  --> Fetching updates for github.com/mattn/go-colorable
[INFO]  --> Fetching updates for github.com/huin/goupnp
[INFO]  --> Fetching updates for github.com/jackpal/go-nat-pmp
[ERROR] Error scanning github.com/prometheus/prometheus/util/flock: 
cannot find package "." in:
    /root/.glide/cache/src/https-github.com-prometheus- prometheus/util/flock
[INFO]  --> Fetching updates for github.com/elastic/gosigar
[INFO]  --> Fetching updates for github.com/mohae/deepcopy
[INFO]  --> Fetching updates for github.com/influxdata/influxdb

...

[ERROR] Error scanning golang.org/x/sys/cpu: cannot find package "." in:
/root/.glide/cache/src/https-github.com-golang-sys/cpu
[INFO]  --> Fetching updates for github.com/matttproud/golang_protobuf_extensions
[INFO]  --> Setting version for github.com/matttproud/golang_protobuf_extensions to 3247c84500bff8d9fb6d579d800f20b3e091582c. 
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports

所以我尝试将滑行镜更改为本地文件(我已经克隆了所有依赖项),但是仍然无法正常工作,如果有人知道如何处理它,请帮帮我,谢谢

0 个答案:

没有答案