Created
October 26, 2016 13:36
-
-
Save knm3000/84b2d9a3235e6df260d0ce3609a2e340 to your computer and use it in GitHub Desktop.
Building beats packages on ppc64le ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/go | |
export GOPATH=~/go | |
mkdir -p $GOPATH/src/github.com/elastic | |
cd $GOPATH/src/github.com/elastic | |
git clone https://github.com/elastic/beats.git | |
# build filebeat | |
cd $GOPATH/src/github.com/elastic/beats/filebeat | |
make | |
# build metricbeat | |
cd $GOPATH/src/github.com/elastic/beats/metricbeat | |
make | |
# build heartbeat | |
cd $GOPATH/src/github.com/elastic/beats/heartbeat | |
make | |
# build packetbeat (FAILED) | |
cd $GOPATH/src/github.com/elastic/beats/packetbeat | |
make | |
go build | |
# github.com/elastic/beats/vendor/github.com/tsg/gopacket/pcap | |
../vendor/github.com/tsg/gopacket/pcap/pcap.go:20:18: fatal error: pcap.h: No such file or directory | |
#include <pcap.h> | |
^ | |
compilation terminated. | |
make: *** [packetbeat] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment