Build from source fails with Azure dependencies? #4705

Closed
devekko opened this Issue Mar 13, 2016 · 2 comments

Comments

Projects
None yet
3 participants

devekko commented Mar 13, 2016

I tried to build from source from blog and fails

http://marcoceppi.com/2016/03/testing-juju-without-wrecking-juju/

go get -v github.com/juju/juju/...
github.com/Azure/azure-sdk-for-go (download)
package github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest: cannot find package "github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest" in any of:
    /usr/lib/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest (from $GOROOT)
    /home/devekko/Projects/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest (from $GOPATH)
package github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/azure: cannot find package "github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/azure" in any of:
    /usr/lib/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/azure (from $GOROOT)
    /home/devekko/Projects/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/azure (from $GOPATH)
package github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to: cannot find package "github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to" in any of:
    /usr/lib/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to (from $GOROOT)
    /home/devekko/Projects/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/to (from $GOPATH)
package github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/mocks: cannot find package "github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/mocks" in any of:
    /usr/lib/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/mocks (from $GOROOT)
    /home/devekko/Projects/go/src/github.com/Azure/azure-sdk-for-go/Godeps/_workspace/src/github.com/Azure/go-autorest/autorest/mocks (from $GOPATH)

cherylj commented Mar 13, 2016

Hi devekko, check out the contributing page. You're running into dependency problems and will need to download (not build, with -d), then update dependencies using godeps.

Contributor

davecheney commented Mar 13, 2016

The TL;DR of the contributing page is

  1. go get github.com/juju/juju/..., this will give an error, ignore it
  2. go get launchpad.net/godeps
  3. cd $GOPATH/src/github.com/juju/juju
  4. godeps -u dependencies.tsv

Then you're ready to go.

@davecheney davecheney closed this Mar 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment