Skip to content

Error when compiling for linux machine #4

Description

@harishbn86g

go build -i -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2018-06-07T21:12:07Z -X github.com/elastic/beats/libbeat/version.commit=2344e586f0d69476fa76dc4f0302fb8ccf08a27d"
main.go:8:2: cannot find package "github.com/pravoru/ConsulBeat/beater" in any of:
/root/go/src/src/github.com/pravoru/ConsulBeat/beater (from $GOROOT)
/root/go/src/github.com/pravoru/ConsulBeat/beater (from $GOPATH)
import cycle not allowed
package .
imports github.com/elastic/beats/libbeat/beat
imports github.com/elastic/beats/libbeat/common
imports github.com/elastic/beats/libbeat/logp
imports go.uber.org/zap
imports net/http
imports crypto/tls
imports crypto/x509
imports net
imports runtime/cgo
imports runtime/cgo
make: *** [libbeat] Error 1

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions