Getting error while compiling lxc in debian 9 (amd64)


(Arun K Sasi ) #1

Hi

I have followed README.md and getting below error while make could any one help me on this ?

get "gopkg.in/lxc/go-lxc.v2": found meta tag main.metaImport{Prefix:"gopkg.in/lxc/go-lxc.v2", VCS:"git", RepoRoot:"https://gopkg.in/lxc/go-lxc.v2"} at https://gopkg.in/lxc/go-lxc.v2?go-get=1
gopkg.in/lxc/go-lxc.v2 (download)
github.com/juju/postgrestest (download)
github.com/lib/pq (download)
Fetching https://gopkg.in/tomb.v2?go-get=1
Parsing meta tags from https://gopkg.in/tomb.v2?go-get=1 (status code 200)
get "gopkg.in/tomb.v2": found meta tag main.metaImport{Prefix:"gopkg.in/tomb.v2", VCS:"git", RepoRoot:"https://gopkg.in/tomb.v2"} at https://gopkg.in/tomb.v2?go-get=1
gopkg.in/tomb.v2 (download)
github.com/juju/persistent-cookiejar (download)
github.com/gosexy/gettext (download)
github.com/pborman/uuid (download)
github.com/CanonicalLtd/candidclient (download)
github.com/syndtr/gocapability (download)
Makefile:18: recipe for target 'default' failed
make: *** [default] Error 1```

#2

What is your Go version?
If it is not an issue with old Go version, then you can file a bug report on GitHub.

But verify first that you have followed any prerequisites when compiling.


(Arun K Sasi ) #3

Yeah got compiled successfully
I was missing one package libclxclient-dev
Thank you