Hello, thanks for reaching out about building filebeat. Are you trying to build filebeat for a Linux distribution on ppc64? If so what Linux distribution are you using? It's possible that you'll be able to build filebeat on a ppc64 system running Linux. I've seen similar posts where folks built beats on a RHEL 7 ppc64 system.
The error you included is interesting. The tz library is a dependency for beats. Do the following commands work on your ppc64 system?
Thanks Michael, I tried to run the two commands (although second one didn't work as expected due to an error, and so had to git clone). But now, I see this error when ran the make command:
Do you also get a similar error when running this command?
go get -u 4d63.com/tz
Are you building filebeat from master? I wonder if you'd run in the same issue on a branch that's been released? Would you mind trying something like this?
Thanks for trying to build filebeat in the 7.6 branch. I'm wondering if the GOPATH and other variables are getting set correctly? Could you please try the following?
go env
I've ran into issues with other make targets like make update and make docs if I did not have GOPATH set correctly.
This is gopath that I used in the past, and it worked without errors for older version of filebeat/metricbeat (eg: v6.8 with older v of go). But once I upgraded go and working against latest beats - that is when I am noticing these errors.
I think the easiest approach would be to use the elastic/golang-crossbuild project to cross compile and package the binaries for ppc64le. Please let me know if you'd like me to post the details here.
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.