Quantcast
Channel: Planet Ubuntu
Viewing all articles
Browse latest Browse all 12025

Marco Ceppi: Compiling juju-core from source

$
0
0

This isn’t going to be a long winded blog post on how to compile Juju with context behind it. I just need a place to keep up to date with how it’s done. Here are my notes.

1
2
3
4
5
6
7
8
9
10
sudoapt-get updatesudoapt-get install golang bzr git mercurial make
 
mkdir-p ~/goexportGOPATH=$HOME/goexportGOROOT=/usr/lib/go
go get launchpad.net/godeps/...
go get -v github.com/juju/juju/...cd ~/go/src/github.com/juju/juju[... do a bunch of gitty stuff ...]
1
2
3
4
5
cd ~/go/src/github.com/juju/jujuJUJU_MAKE_GODEPS=truemake godepsmake build
go get -v github.com/juju/juju/...$GOPATH/bin/juju version

You now have the latest version installed. Perform the last code block each time you wish to recompile.


Viewing all articles
Browse latest Browse all 12025

Trending Articles