Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build #1

Open
satyrius opened this issue Feb 29, 2016 · 2 comments
Open

Failed to build #1

satyrius opened this issue Feb 29, 2016 · 2 comments

Comments

@satyrius
Copy link

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
Copy link

the same for me

@artdokxxx
Copy link

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants