[lxc-users] LXD + OS X
Tycho Andersen
tycho.andersen at canonical.com
Fri Jul 31 06:44:29 UTC 2015
On Thu, Jul 30, 2015 at 03:27:44PM -0700, Kevin LaTona wrote:
> Thanks Bill, that got me closer but it still is not working.
>
>
> When I do a make I get back
>
>
> lxd kevin$ make
> go get -v -d ./...
> go install -v ./...
> github.com/lxc/lxd/lxd/migration
> # github.com/lxc/lxd/lxd/migration
> lxd/migration/migrate.go:38: undefined: lxc.Container
> make: *** [default] Error 2
>
>
> If anyone is running the client on OS X and has it working…… any insights would be helpful.
Here you're trying to build the daemon; don't do that :). Try,
go install ./lxc
Tycho
>
> Thanks
> -Kevin
>
>
>
> On Jul 30, 2015, at 12:57 PM, Bill Anderson <bill.anderson at RACKSPACE.COM> wrote:
>
> >
> >> On Jul 30, 2015, at 2:23 PM, Kevin LaTona <lists at studiosola.com> wrote:
> >>
> >>
> >> Looking for any GO people on the list who might be able to help me dechiper what this error means which trying to install LXD CLI on to a OS X machine.
> >>
> >> If I check my current GO path on OS X it's at /usr/local/go
> >>
> >> Which is where GO installed it at.
> >>
> >>
> >> I got the current LXD tar ball
> >> CD to it's top folder and called make
> >>
> >> From here it give GO path not found error…….through out the whole make script
> >>
> >> lxd-0.14 kevin$ make
> >> go get -v -d ./...
> >> package github.com/chai2010/gettext-go/gettext: cannot download, $GOPATH not set.
> >
> > You need to set your GOPATH environment variable. This is where it will put the repo which ‘go get’ will get. Personally, I use $HOME/.go but it can be wherever you want it to be. See https://github.com/golang/go/wiki/GOPATH and/or http://www.ryanday.net/2012/10/01/installing-go-and-gopath/ for more details.
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list