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

Not possible to build the custom version #60

Open
antony opened this issue Jun 20, 2018 · 0 comments
Open

Not possible to build the custom version #60

antony opened this issue Jun 20, 2018 · 0 comments

Comments

@antony
Copy link

antony commented Jun 20, 2018

I've followed the instructions listed here and on the original logspout repository, but I appear to be having problems finding the logspout-logstash dependency (both locally and on CI)

The error I'm getting is:

modules.go:4:2: cannot find package "github.com/looplab/logspout-logstash" in any of:
	/go/src/github.com/gliderlabs/logspout/vendor/github.com/looplab/logspout-logstash (vendor tree)
	/usr/lib/go/src/github.com/looplab/logspout-logstash (from $GOROOT)
	/go/src/github.com/looplab/logspout-logstash (from $GOPATH)

I'm sadly not a go expert (or even beginner) so I'm a bit stumped.

$ go version
go version go1.10.3 linux/amd64
$ echo $GOPATH
/home/ant/go
$ cat modules.go 
package main

import (
	_ "github.com/looplab/logspout-logstash"
	_ "github.com/gliderlabs/logspout/healthcheck"
	_ "github.com/gliderlabs/logspout/adapters/raw"
	_ "github.com/gliderlabs/logspout/adapters/syslog"
	_ "github.com/gliderlabs/logspout/adapters/multiline"
	_ "github.com/gliderlabs/logspout/httpstream"
	_ "github.com/gliderlabs/logspout/routesapi"
	_ "github.com/gliderlabs/logspout/transports/tcp"
	_ "github.com/gliderlabs/logspout/transports/udp"
	_ "github.com/gliderlabs/logspout/transports/tls"
)
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