douba9020 2017-06-23 14:31
浏览 272
已采纳

运行应用程序超级账本结构时出错

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

I recived following error:

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

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

  • 写回答

3条回答 默认 最新

  • dongzhi4498 2017-06-28 10:39
    关注

    go path is not set.

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

    whereis go

    then export below var.

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

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?