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

How to install #1

Open
spuder opened this issue Aug 25, 2020 · 0 comments
Open

How to install #1

spuder opened this issue Aug 25, 2020 · 0 comments

Comments

@spuder
Copy link

spuder commented Aug 25, 2020

The readme states that to run nomadctld, there is a binary with that name

./nomadctld

However no where in this project is a binary with that name. There is a bash script named nomadctl

I've tried running the .go apps

go run main.go
main.go:9:2: cannot find package "github.com/docker/docker/api/types/container" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/docker/docker/api/types/container (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/docker/docker/api/types/container (from $GOPATH)
main.go:10:2: cannot find package "github.com/gliderlabs/ssh" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/gliderlabs/ssh (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/gliderlabs/ssh (from $GOPATH)
main.go:11:2: cannot find package "github.com/spf13/viper" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/spf13/viper (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/spf13/viper (from $GOPATH)
main.go:12:2: cannot find package "golang.org/x/crypto/ssh" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/golang.org/x/crypto/ssh (from $GOROOT)
	/Users/spencer.owen/go/src/golang.org/x/crypto/ssh (from $GOPATH)
17169-SOwen:nomadctld spencer.owen$ go run nomad.go
nomad.go:12:2: cannot find package "github.com/ugorji/go/codec" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/ugorji/go/codec (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/ugorji/go/codec (from $GOPATH)

Also tried building with no luck.

go build
docker.go:12:2: cannot find package "github.com/docker/docker/api/types" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/docker/docker/api/types (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/docker/docker/api/types (from $GOPATH)
docker.go:13:2: cannot find package "github.com/docker/docker/api/types/container" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/docker/docker/api/types/container (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/docker/docker/api/types/container (from $GOPATH)
docker.go:14:2: cannot find package "github.com/docker/docker/client" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/docker/docker/client (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/docker/docker/client (from $GOPATH)
docker.go:15:2: cannot find package "github.com/docker/docker/pkg/stdcopy" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/docker/docker/pkg/stdcopy (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/docker/docker/pkg/stdcopy (from $GOPATH)
commands.go:17:2: cannot find package "github.com/dustin/go-humanize" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/dustin/go-humanize (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/dustin/go-humanize (from $GOPATH)
config.go:9:2: cannot find package "github.com/fsnotify/fsnotify" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/fsnotify/fsnotify (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/fsnotify/fsnotify (from $GOPATH)
commands.go:18:2: cannot find package "github.com/gliderlabs/ssh" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/gliderlabs/ssh (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/gliderlabs/ssh (from $GOPATH)
commands.go:19:2: cannot find package "github.com/spf13/viper" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/spf13/viper (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/spf13/viper (from $GOPATH)
nomad.go:12:2: cannot find package "github.com/ugorji/go/codec" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/ugorji/go/codec (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/ugorji/go/codec (from $GOPATH)
commands.go:20:2: cannot find package "github.com/xlab/treeprint" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/github.com/xlab/treeprint (from $GOROOT)
	/Users/spencer.owen/go/src/github.com/xlab/treeprint (from $GOPATH)
main.go:12:2: cannot find package "golang.org/x/crypto/ssh" in any of:
	/usr/local/Cellar/go/1.13.1/libexec/src/golang.org/x/crypto/ssh (from $GOROOT)
	/Users/spencer.owen/go/src/golang.org/x/crypto/ssh (from $GOPATH)

Any suggestions for how to get the server running?

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

1 participant