Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Build fails #32

Open
demizer opened this issue May 29, 2017 · 2 comments
Open

Build fails #32

demizer opened this issue May 29, 2017 · 2 comments

Comments

@demizer
Copy link

demizer commented May 29, 2017

$ go get -u github.com/gravitational/teleconsole

# github.com/gravitational/teleconsole/clt
.gopath/src/github.com/gravitational/teleconsole/clt/clt.go:88: not enough arguments in call to integration.NewInstance
	have (string, string, []int, nil, nil)
	want (string, string, string, []int, []byte, []byte)
.gopath/src/github.com/gravitational/teleconsole/clt/clt.go:114: tconf.Proxy.DisableWebUI undefined (type service.ProxyConfig has no field or method DisableWebUI)
.gopath/src/github.com/gravitational/teleconsole/clt/clt.go:168: cannot use func literal (type func(io.ReadWriteCloser) (bool, error)) as type client.ShellCreatedCallback in assignment
.gopath/src/github.com/gravitational/teleconsole/clt/main.go:47: undefined: utils.InitLoggerCLI
.gopath/src/github.com/gravitational/teleconsole/clt/main.go:57: undefined: utils.InitLoggerVerbose
.gopath/src/github.com/gravitational/teleconsole/clt/main.go:62: undefined: utils.InitLoggerDebug

I attempted to use make to build, but still got an error:

$ make

make -C version
make[1]: Entering directory '/home/demizer/.gopath/src/github.com/gravitational/teleconsole/version'
make[1]: Leaving directory '/home/demizer/.gopath/src/github.com/gravitational/teleconsole/version'
CGO_ENABLED=1 go build -i -ldflags -w -o out/teleconsole
# github.com/gravitational/teleconsole/clt
clt/clt.go:88: not enough arguments in call to integration.NewInstance
	have (string, string, []int, nil, nil)
	want (string, string, string, []int, []byte, []byte)
clt/clt.go:114: tconf.Proxy.DisableWebUI undefined (type service.ProxyConfig has no field or method DisableWebUI)
clt/clt.go:168: cannot use func literal (type func(io.ReadWriteCloser) (bool, error)) as type client.ShellCreatedCallback in assignment
clt/main.go:47: undefined: utils.InitLoggerCLI
clt/main.go:57: undefined: utils.InitLoggerVerbose
clt/main.go:62: undefined: utils.InitLoggerDebug
make: *** [Makefile:16: out/teleconsole] Error 2
@burdiyan
Copy link

Same thing happening to me. go version go1.8.3 darwin/amd64.

@burdiyan
Copy link

Seems like it is related to this: #16

Looks like Teleconsole was using old version of Teleport, that is not vendored in Teleconsole. But I still can't manage to build Teleconsole with v1.* of Teleport.

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

No branches or pull requests

2 participants