10/04/16 19:47:55 /6r9tkwK.net
.bashrc
export GOROOT=$HOME/go
export GOARCH=386
export GOOS=linux
$hg clone -r release URLリンク(go.googlecode.com) $GOROOT
$cd $GOROOT/src
$./all.bash
Note: fedora case selinux error:
URLリンク(groups.google.com)
$hg clone URLリンク(gobuild.googlecode.com) gobuild
$make
error: gobuild.go:62: undefined: os.Dir
edit: os.Dir -> os.PathInfo
$make
$cp gobuild $HOME/bin
$hg clone URLリンク(gopages.googlecode.com) gopages
$cd gopages
$gobuild gopages.go
$cp gopages $HOME/bin
$gobuild main.go
$./main
gopages serving on :9999