Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从源代码将 Go 安装到我的 Nitrous.io 盒子上。 Nitrous 提供的 Go Box 的 Go 版本是 1.1.2,我想使用 1.2。
检查源代码并编译后,运行测试时构建失败。似乎没有足够的内存在盒子上同时运行它们。
这与四月份的问题相同: https ://code.google.com/p/go/issues/detail?id= 5342 那里提到的使测试按顺序运行的补丁,没有干净地应用,所以我不确定如何解决这个问题。
我已经成功编译了 Go on Nitrous。不要运行测试(使用 all.bash 编译),只需编译 Go(使用 make.bash)就可以了。我替换了旧的 Go(在 ~/.go 中)并在 ~/.go 中解压了 Go 源代码,然后对其进行了编译。无需更改 $PATH。