doushang9172 2013-12-23 10:15
浏览 32
已采纳

将Go 1.2安装到Nitrous.io

I'm trying to install Go onto my Nitrous.io box from source.
The Nitrous supplied Go Box has version 1.1.2 of Go, and I would like to use 1.2.

Having checked out the source and compiled, the build fails when running the tests. It seems there is not enough memory to run them concurrently on the box.

It's the same problem as this one in April: https://code.google.com/p/go/issues/detail?id=5342 The patch mentioned there to make the tests run sequentially, did not apply cleanly, so am unsure how to fix this.

  • 写回答

1条回答 默认 最新

  • dqa35710 2013-12-23 16:52
    关注

    I have compiled Go on Nitrous successfully. Don't run the tests (compiling with all.bash), just compile Go (with make.bash) and it will work fine. I replaced the old Go (in ~/.go) and decompressed the Go source in ~/.go, and then compiled it. No need to change the $PATH.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度