Closed urvile closed 8 years ago
If you are new to Go, there is a pre-compiled binary for Linux 64bit platforms ... just click on releases.
To compile correctly with the known/tested dependencies in the vendor folder:
Hope that helps.
Retested compiling on:
$ uname -a
Linux box 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
and the process described works.
src/unifiedbeat/main.go:40: cannot use unifiedbeat.New() (type *unifiedbeat.Unifiedbeat) as type "unifiedbeat/vendor/github.com/elastic/beats/libbeat/beat".Beater in argument to "unifiedbeat/vendor/github.com/elastic/beats/libbeat/beat".Run: *unifiedbeat.Unifiedbeat does not implement "unifiedbeat/vendor/github.com/elastic/beats/libbeat/beat".Beater (wrong type for Cleanup method) have Cleanup(*"github.com/cleesmith/unifiedbeat/vendor/github.com/elastic/beats/libbeat/beat".Beat) error want Cleanup(*"unifiedbeat/vendor/github.com/elastic/beats/libbeat/beat".Beat) error make: *** [install] Error 2
Had a dickens of a time getting the dependencies right.