evrone / docker-machine-vscale

Vscale docker machine driver
https://evrone.com
MIT License
27 stars 6 forks source link

Failed to build #1

Open satyrius opened 8 years ago

satyrius commented 8 years ago

Trying to build and install you plugin on Debian 8.1

apt-get update -qq && apt-get install -qq build-essential git-core

# Install golang
curl -o go16.tar.gz 'https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz'
tar -C /usr/local -xzf go16.tar.gz

# Clone a repo
git clone https://github.com/evrone/docker-machine-vscale.git
cd docker-machine-vscale
export GOPATH=$(pwd)/vendor:$(pwd)

# Then you installation instructions
make install

Get the following

go get -t -v ./...
github.com/docker/machine (download)
github.com/evrone/vscale_api (download)
github.com/google/go-querystring (download)
github.com/stretchr/testify (download)
github.com/evrone/docker-machine-vscale (download)
Fetching https://golang.org/x/crypto/curve25519?go-get=1
Parsing meta tags from https://golang.org/x/crypto/curve25519?go-get=1 (status code 200)
get "golang.org/x/crypto/curve25519": found meta tag main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/curve25519?go-get=1
get "golang.org/x/crypto/curve25519": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
vendor/src/github.com/docker/machine/vendor/github.com/bugsnag/bugsnag-go/revel/bugsnagrevel.go:11:2: cannot find package "github.com/revel/revel" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/github.com/revel/revel (vendor tree)
    /usr/local/go/src/github.com/revel/revel (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/github.com/revel/revel (from $GOPATH)
    /root/docker-machine-vscale/src/github.com/revel/revel
vendor/src/github.com/docker/machine/vendor/github.com/bugsnag/bugsnag-go/martini/bugsnagmiddleware.go:36:2: cannot find package "github.com/go-martini/martini" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/github.com/go-martini/martini (vendor tree)
    /usr/local/go/src/github.com/go-martini/martini (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/github.com/go-martini/martini (from $GOPATH)
    /root/docker-machine-vscale/src/github.com/go-martini/martini
vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/acceptance/openstack/networking/v2/extensions/lbaas/common.go:7:2: cannot find package "github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/monitors" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/monitors (vendor tree)
    /usr/local/go/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/monitors (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/monitors (from $GOPATH)
    /root/docker-machine-vscale/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/monitors
vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/acceptance/openstack/networking/v2/extensions/lbaas/common.go:8:2: cannot find package "github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/pools" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/pools (vendor tree)
    /usr/local/go/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/pools (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/pools (from $GOPATH)
    /root/docker-machine-vscale/src/github.com/rackspace/gophercloud/openstack/networking/v2/extensions/lbaas/pools
vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/acceptance/openstack/networking/v2/extensions/lbaas/common.go:10:2: cannot find package "github.com/rackspace/gophercloud/openstack/networking/v2/subnets" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/openstack/networking/v2/subnets (vendor tree)
    /usr/local/go/src/github.com/rackspace/gophercloud/openstack/networking/v2/subnets (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/github.com/rackspace/gophercloud/openstack/networking/v2/subnets (from $GOPATH)
    /root/docker-machine-vscale/src/github.com/rackspace/gophercloud/openstack/networking/v2/subnets
vendor/src/github.com/docker/machine/vendor/google.golang.org/cloud/internal/opts/option.go:12:2: cannot find package "google.golang.org/grpc" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/google.golang.org/grpc (vendor tree)
    /usr/local/go/src/google.golang.org/grpc (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/google.golang.org/grpc (from $GOPATH)
    /root/docker-machine-vscale/src/google.golang.org/grpc
vendor/src/github.com/docker/machine/vendor/google.golang.org/cloud/internal/testutil/context.go:27:2: cannot find package "google.golang.org/cloud" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/google.golang.org/cloud (vendor tree)
    /usr/local/go/src/google.golang.org/cloud (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/google.golang.org/cloud (from $GOPATH)
    /root/docker-machine-vscale/src/google.golang.org/cloud
vendor/src/github.com/docker/machine/vendor/google.golang.org/cloud/internal/transport/dial.go:28:2: cannot find package "google.golang.org/grpc/credentials" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/google.golang.org/grpc/credentials (vendor tree)
    /usr/local/go/src/google.golang.org/grpc/credentials (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/google.golang.org/grpc/credentials (from $GOPATH)
    /root/docker-machine-vscale/src/google.golang.org/grpc/credentials
vendor/src/github.com/docker/machine/vendor/google.golang.org/cloud/internal/transport/dial.go:29:2: cannot find package "google.golang.org/grpc/credentials/oauth" in any of:
    /root/docker-machine-vscale/vendor/src/github.com/docker/machine/vendor/google.golang.org/grpc/credentials/oauth (vendor tree)
    /usr/local/go/src/google.golang.org/grpc/credentials/oauth (from $GOROOT)
    /root/docker-machine-vscale/vendor/src/google.golang.org/grpc/credentials/oauth (from $GOPATH)
    /root/docker-machine-vscale/src/google.golang.org/grpc/credentials/oauth
Makefile:13: recipe for target 'fetch' failed
make: *** [fetch] Error 1
izhilenkov commented 8 years ago

the same for me

artdokxxx commented 7 years ago

@satyrius @izhilenkov

Do this:

  1. Install go
  2. cd $HOME/go/src/
  3. git clone https://github.com/evrone/docker-machine-vscale.git
  4. cd docker-machine-vscale
  5. make install (sudo)