Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 6.5 无法安装go #2

Open
crasybest opened this issue Jan 8, 2016 · 4 comments
Open

Centos 6.5 无法安装go #2

crasybest opened this issue Jan 8, 2016 · 4 comments

Comments

@crasybest
Copy link

2.Deploy Server

Install Go

Download the latest stable version source code

wget https://storage.googleapis.com/golang/go1.5.2.src.tar.gz

Copied to the user's work directory

cp go1.5.2.src.tar.gz /home//

Unzip

tar xf go1.5.2.src.tar.gz

Compile

cd go/src/ && ./make.bash

执行Compile时提示:
[root@mq1 src]# ./make.bash

Building Go bootstrap tool.

cmd/dist
ERROR: Cannot find /root/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
./make.bash: line 121: /root/go1.4/bin/go: No such file or directory

请求指导。。。。

@yunji-devin
Copy link
Contributor

@crasybest

您需要拷贝到您的目标目录,您可以看看这个文章:
http://blog.simpleyuan.com/29.html

@sageskr
Copy link

sageskr commented Jan 8, 2016

你需要下载一个1.4x的go,然后把他的路径设置为环境变量GOROOT_BOOTSTRAP

@elven2016
Copy link

这个指导有问题,安装1.5执行会报错,下载1,4的然后安装就没有问题

@yunji-devin
Copy link
Contributor

@elven2016 ,对,后面说明里已经改为1.4,感谢提醒 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants