../vendor/github.com/elastic/gosigar/concrete_sigar.go:20: cpuUsage.Get undefined (type Cpu has no field or method Get)
../vendor/github.com/elastic/gosigar/concrete_sigar.go:30: cpuUsage.Get undefined (type Cpu has no field or method Get)
../vendor/github.com/elastic/gosigar/concrete_sigar.go:49: l.Get undefined (type LoadAverage has no field or method Get)
../vendor/github.com/elastic/gosigar/concrete_sigar.go:55: m.Get undefined (type Mem has no field or method Get)
../vendor/github.com/elastic/gosigar/concrete_sigar.go:61: s.Get undefined (type Swap has no field or method Get)
../vendor/github.com/elastic/gosigar/concrete_sigar.go:67: f.Get undefined (type FileSystemUsage has no field or method Get)
Is it even possible to cross compile topbeat on Linux?
In your first post, when you tried to use the elastic/beats-packer project to compile the elastic/beats project you were targeting the master branch. You should probably target the 1.3 branch because we no longer use the separate elastic/beats-packer project to build against master. Change master to 1.3 here.
It is possible to cross-compile for Windows on Linux. That's what the beat-packer project does. It just encapsulates all of the compiler dependencies into a docker container.
@andrewkroh Thanks. Now I am able to compile topbeat for Windows on Linux.
It seems beats-packer clones this 1.3 branch every time it needs to build. Is there a way to make beats-packer to build a local directory instead of cloning every time?
Basically, I have cloned branch 1.3 and have some local changes on top. I need to compile this local copy of code rather the freshly cloned from git.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.