【发布时间】:2017-07-01 11:18:49
【问题描述】:
我正在尝试编译Ethereum Go client。在the instructions 之后,我只是运行make geth,但失败了:
$ make geth
build/env.sh go run build/ci.go install ./cmd/geth
make: build/env.sh: No such file or directory
make: *** [geth] Error 1
据我从这个错误中了解到,它抱怨 build/env.sh 或 build/ci.go 不存在。所以我检查了构建文件夹,但它们似乎都在那里:
$ ls -l build
total 648
drwxr-xr-x 3 kramer65 staff 102 Feb 13 13:45 _vendor
-rw-r--r-- 1 kramer65 staff 2892 Feb 13 13:45 ci-notes.md
-rw-r--r-- 1 kramer65 staff 30516 Feb 13 13:45 ci.go <===
-rw-r--r-- 1 kramer65 staff 123 Feb 13 13:45 deb.changelog
... some other files here
-rw-r--r-- 1 kramer65 staff 379 Feb 13 13:45 deb.rules
-rwxr-xr-x 1 kramer65 staff 721 Feb 13 13:45 env.sh <===
-rw-r--r-- 1 kramer65 staff 1722 Feb 13 13:45 mvn.pom
... and some more files here
我检查了是否安装了go以及它是哪个版本:
$ which go
/usr/local/bin/go
$ go version
go version go1.7.5 darwin/amd64
所以去似乎很好。
有人知道如何调试/解决这个问题吗?欢迎所有提示!
【问题讨论】:
标签: go makefile compiler-errors compilation ethereum