A package for analyzing bismark-passive data in Go.
- Install Go. See http://golang.org. Make sure you set $GOPATH (probably to $HOME/go).
- Install leveldb. See http://code.google.com/p/leveldb. If you're running Debian, the libleveldb-dev package is probably what you want.
go get github.com/sburnett/bismark-passive-server-go
- The binary is in $GOPATH/bin/bismark-passive-server-go
pip install mercurial
- Make sure
.local/bin
is in your $PATH. - Build Go from source. See http://golang.org/doc/install/source. Once you've extracted and compiled Go with
all.bash
you shouldn't move the installation elsewhere, so make sure you perform the build in a suitable non-NFS and non-tmp directory. - Be sure to set your $GOPATH according to the Go documentation.
- Make sure
$YOUR_GO_INSTALLATION/bin
is in your $PATH. - Download leveldb from http://code.google.com/p/leveldb. Build it in a suitable non-tmp directory.
export LEVELDB_PATH="/wherever/you/built/leveldb"
LD_LIBRARY_PATH="" CGO_CFLAGS="-I$LEVELDB_PATH/include" CGO_LDFLAGS="-L$LEVELDB_PATH" go get -x -u github.com/jmhodges/levigo
go get github.com/sburnett/bismark-passive-server-go