Hello World

GO 安装

1、MacOS 下PYTHON 环境 很难搞

  配置好PYTHON /usr/bin/python 链接到 /opt/local/bin/python -- 真正的python安装 时在这个下面 

 

2、配置 Mercurail -  一个分布式代码管理工具 

      可用macports 安装

      测试安装是否成功 可以 6g 来测试, 6g 是 mercurail 的管理命令,checkout 代码

 

 3、安装GO 环境

  获取代码:

 hg clone -r release https://go.googlecode.com/hg/ go
 安装
$ cd go/src
$ ./all.bash

  If all goes well, it will finish by printing output like:

ALL TESTS PASSED

4、Update GO 环境

$ cd go/src
$ hg pull
$ hg update release
$ ./all.bash

 

posted @ 2012-03-19 16:40  Christina_Joe  阅读(178)  评论(0编辑  收藏  举报
Hello World