编译go1.7beta2
来源:互联网 发布:与sqlserver建立连接 编辑:程序博客网 时间:2024/04/30 04:17
今天有碰到个"local error: no renegotiation"问题,就去尝试编译了下Go1.7beta2
记录下:
1. 安装 go1.4
[root@ip-172-31-16-112 src]# export GOROOT=/root/go1.4
[root@ip-172-31-16-112 src]# export PATH=$PATH:$GOROOT/bin
[root@ip-172-31-16-112 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.
root@ip-172-31-16-112 src]# export GOROOT=/opt/go14/go
[root@ip-172-31-16-112 src]# export PATH=$PATH:$GOROOT/bin
[root@ip-172-31-16-112 src]# GOROOT_BOOTSTRAP=$GOROOT ./all.bash
##### Building Go bootstrap tool.
cmd/dist
go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT
2. 安装信赖包
yum install gcc glibc-devel
[root@ip-172-31-16-112 src]# ./make.bash
##### Building Go bootstrap tool.
cmd/dist
go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT
vi $GOROOT/VERSION
[root@ip-172-31-16-112 go-go1.7beta2]# cat VERSION
go1.7beta2
[root@ip-172-31-16-112 src]# ./make.bash
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /root/go1.4.
errors
math
container/heap
......
---
Installed Go for linux/amd64 in /opt/go172/go-go1.7beta2
Installed commands in /opt/go172/go-go1.7beta2/bin
[root@ip-172-31-16-112 bin]# ./go version
go version go1.7beta2 linux/amd64
参考: https://golang.org/doc/install/source
https://github.com/golang/go/wiki/InstallFromSource
- 编译go1.7beta2
- 编译GO1.8.3源代码
- OSX10.9 GO1.3交叉编译
- Xcode 7 Beta2 下载
- Go1.2在win8下无法正常编译
- 自动化编译错误 cocos2dx 3.0beta2 android
- Internet Explorer 7 beta2试用
- 开源RTS游戏 Warzone2100(2.1beta2) 编译备忘
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- ubuntu 10.04 下编译 qt 4.7 beta2 源代码
- linux环境下go1.8安装配置具体步骤(二进制部署和源码编译部署)
- Go1.4 编译失败:unknown relocation type 42; compiled without -fpic?
- 单例模式 详解
- POI---JAVA导出Excel文件<二>Excel格式设置
- 静态方法 (static)
- SICP 习题2.43 八皇后问题flatmap嵌套反了
- UE4创建透明水的效果
- 编译go1.7beta2
- [强烈推荐] thinkphp iis7.5 win2008 上 设置虚拟静态 错误的解决方法 web.config
- [九度OJ]最短路径
- Codeforces 543 A Writing Code 计数DP
- 错误:You need to use a Theme.AppCompat theme (or descendant) with this activity.
- 怎样拼读单词
- GetModuleFileNameEx遍历获取64bit程序路径失败的一种解决方法(Win7-64-bit)
- UE4发布android应用
- spring boot 学习笔记(008)mysql