Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #42

Closed
sajeeshab opened this issue Jul 30, 2022 · 1 comment
Closed

error #42

sajeeshab opened this issue Jul 30, 2022 · 1 comment

Comments

@sajeeshab
Copy link

go install github.com/hktalent/scan4all@2.6.1

github.com/google/gopacket/pcap

go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:34:10: fatal error: pcap.h: No such file or directory
34 | #include <pcap.h>
| ^~~~~~~~
compilation terminated.

@hktalent
Copy link
Collaborator

@sajeeshab you can see:
https://github.com/hktalent/scan4all/blob/main/.github/workflows/build.yml

macOS

brew install libpcap

ubuntu

sudo apt install -yy libpcap-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants