subuk / vmango

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

Compile Problem? #18

Closed m1lw0rm closed 5 years ago

m1lw0rm commented 5 years ago

GOPATH=/root/vmango/vendor:/root/vmango go build -o vendor/bin/go-bindata github.com/jteeuwen/go-bindata/go-bindata /bin/sh: 1: go: not found Makefile:28: recipe for target 'vendor/bin/go-bindata' failed make: *** [vendor/bin/go-bindata] Error 127

Debian 8

m1lw0rm commented 5 years ago

Ok is fixed with this cd /tmp wget https://dl.google.com/go/go1.9.4.linux-amd64.tar.gz -q tar -xzf go1.9.4.linux-amd64.tar.gz mv go /usr/local export GOROOT=/usr/local/go export GOPATH=$HOME/Projects/Proj1 export PATH=$GOPATH/bin:$GOROOT/bin:$PATH go version go env cd ~/

and : apt-get install gcc make