Closed rfyiamcool closed 6 years ago
install error in centos, I think you could provide a binary file of multi system os.
OS Version
cat /etc/issue CentOS release 6.8 (Final) Kernel \r on an \m
install
yum -y install libcap yum -y install libcap-devel go get -v -u github.com/40t/go-sniffer github.com/40t/go-sniffer (download) github.com/google/gopacket (download) # runtime/debug gc 1 @0.005s 6%: 0.029+1.2+0.069 ms clock, 0.11+0.17/1.1/1.1+0.27 ms cpu, 4->4->3 MB, 5 MB goal, 4 P gc 2 @0.011s 6%: 0.004+1.4+0.048 ms clock, 0.019+0.057/1.3/2.6+0.19 ms cpu, 5->6->5 MB, 6 MB goal, 4 P github.com/google/gopacket/pcap # github.com/google/gopacket/pcap /devops/app/go/src/github.com/google/gopacket/pcap/pcap.go:22:18: fatal error: pcap.h: No such file or directory #include <pcap.h>
yum -y install libpcap-devel
thx 我改一下README
install error in centos, I think you could provide a binary file of multi system os.
OS Version
install