nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 153 forks source link

照着【Nebulas 101 - 01 编译安装星云链】教程,build失败 #170

Open haisenling opened 6 years ago

haisenling commented 6 years ago

在虚拟机ubuntu-18.04里严格按照教程操作,前面均无出现异常,最后一步build失败。信息如下: lhs@ubuntu:/path/to/workspace/src/github.com/nebulasio/go-nebulas$ sudo make build cd cmd/neb; go build -ldflags "-X main.version=1.0.1 -X main.commit=a7aaa0aaef2677038562356e1bbdccfb848d2fb4 -X main.branch=master -X main.compileAt=date +%s" -o ../../neb-a7aaa0aaef2677038562356e1bbdccfb848d2fb4 /bin/sh: 1: go: not found Makefile:66: recipe for target 'build' failed make: *** [build] Error 127

麻烦帮忙看下是什么原因

ChengOrangeJu commented 6 years ago

go version 和echo $GOPATH可以使用吗

haisenling commented 6 years ago

@ChengOrangeJu ,可以的。我不是mac,是Ubuntu

weiht12 commented 6 years ago

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)