当我运行应用程序超级账本结构时出错 [英] Error when i running the application hyperledger fabric

查看:286
本文介绍了当我运行应用程序超级账本结构时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注本教程: https://github.com/ITPeople-Blockchain/auction 在步骤:建立对等和订购者的二进制文件并启动订购者", 在命令中:make native

I'm following this tutorial: https://github.com/ITPeople-Blockchain/auction and at the step: "Build peer and Orderer binaries and Start Orderer", at the command: make native

我收到以下错误:

Makefile:71:***不进入PATH:检查依赖项".阿雷斯托.

Makefile:71: *** "No go in PATH: Check dependencies". Arresto.

我在VirtualBox上使用Ubuntu,并且正确设置了gopath

I'm using Ubuntu on VirtualBox and I set the gopath correctly

推荐答案

未设置路径.

找到go lang的安装目录. (例如linux)

find installed directory of go lang. (e.g linux )

去哪里

然后将其导出到var以下.

then export below var.

export GOPATH = $ HOME/go导出PATH = $ PATH:$ GOPATH/bin

export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin

这些导出的变量范围仅限于当前终端,因此最好将其设置为文件〜/.bashrc

these exported variable scope is limited to current terminal only so better to set into file ~/.bashrc

这篇关于当我运行应用程序超级账本结构时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆