subuk / vmango

Your own personal IaaS cloud
https://vmango.org
MIT License
329 stars 55 forks source link

make problems #21

Closed captainwasabi closed 5 years ago

captainwasabi commented 5 years ago
root@foobar:~/vmango# make && ./bin/vmango
go install github.com/go-bindata/go-bindata/go-bindata
can't load package: package github.com/go-bindata/go-bindata/go-bindata: cannot find package "github.com/go-bindata/go-bindata/go-bindata" in any of:
        /usr/lib/go-1.10/src/github.com/go-bindata/go-bindata/go-bindata (from $GOROOT)
        /root/vmango/src/github.com/go-bindata/go-bindata/go-bindata (from $GOPATH)
Makefile:41: recipe for target 'bin/go-bindata' failed
make: *** [bin/go-bindata] Error 1
subuk commented 5 years ago

Updating go compiler to latest version should fix the problem

captainwasabi commented 5 years ago

After purging the golang install and autoremoving everything...

Followed: https://tecadmin.net/install-go-on-ubuntu/

root@foobar:~/vmango# go version
go version go1.12.9 linux/amd64
root@foobar:~/vmango# make && ./bin/vmango                           
go install github.com/go-bindata/go-bindata/go-bindata
$GOPATH/go.mod exists but should not
Makefile:41: recipe for target 'bin/go-bindata' failed
make: *** [bin/go-bindata] Error 1
captainwasabi commented 5 years ago

unsetting GOPATH got it further, had to also install pkg-config and libvirt-dev.

it's up!

Thank you for your help.

subuk commented 5 years ago

Great :)