1. apt-get install bison
2. 将http包放在$HOME/go/src/pkg/Makefile文件中的NOTEST下,否则会出错。
3. 其余步骤按照安装说明做即可。
4. 编译完后的显示结果:
--- cd ../test
2 known bugs; 0 unexpected bugs
ALL TESTS PASSED
---
Installed Go for linux/386 in /home/xu/go.
Installed commands in /home/xu/go/bin.
*** You need to add /home/xu/go/bin to your $PATH. ***
The compiler is 8g.
本文介绍了如何使用apt-get安装bison,并详细说明了Go语言的安装步骤,包括配置环境变量及验证安装是否成功的方法。此外,还特别指出在安装过程中的一些注意事项。
1171

被折叠的 条评论
为什么被折叠?



