wiki icon indicating copy to clipboard operation
wiki copied to clipboard

mac make build步骤出错,有人遇到过么

Open wangyuan033 opened this issue 7 years ago • 5 comments

wangyuan033 avatar May 27 '18 03:05 wangyuan033

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
accountcmd.go:25:2: cannot find package "github.com/nebulasio/go-nebulas/cmd/console" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/nebulasio/go-nebulas/cmd/console (from $GOROOT)
	/Users/xxx/go/src/github.com/nebulasio/go-nebulas/cmd/console (from $GOPATH)

wangyuan033 avatar May 27 '18 03:05 wangyuan033

同,解决了嘛

hankcocco avatar Jun 04 '18 06:06 hankcocco

这个应该是 $GOPATH的问题,本人通过 export GOPATH=/Users/用户名/go-workspace(自己创的)解决了

kjs1715 avatar Jun 06 '18 09:06 kjs1715

https://github.com/nebulasio/wiki/issues/163

yupnano avatar Jun 15 '18 11:06 yupnano

你好,此版本为星云旧版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)

weiht12 avatar Dec 05 '18 07:12 weiht12