| 1 | initial version |
The solution to this problem was that libpcap-dev is required to compile dumpcap.
As noted in the CMakeList.txt file: "Dumpcap was requested but libpcap dependency is not available. Wireshark will be built without packet capture capability."
This is (probably) part of the optional packages of wireshark.
You can see a list of all optional packages that where NOT build at the end of the cmake command.
After installing libpcap-dev, I used sudo apt install libpcap-dev, make clean you build directory and recompile using cmake and make. Build info here: https://www.wireshark.org/docs/wsug_html_chunked/ChBuildInstallUnixBuild.html
Thanks to @bubbasnmp for helping me and making me look in the right direction. :)