On Wed, Oct 31, 2012 at 2:32 PM, Daniel Borkmann <[email protected]> wrote: > On Wed, Oct 31, 2012 at 4:06 PM, Doug Burks <[email protected]> wrote: >> On Wed, Oct 31, 2012 at 11:04 AM, Daniel Borkmann >> <[email protected]> wrote: >>> How I hate cmake ... and without the first slash? >> >> Like this? >> PATH_SUFFIXES usr/include/libnl3 >> >> Same result: >> -- Could NOT find Libnl (missing: LIBNL_INCLUDE_DIR) >> libnl is missing on target. Skipping netsniff-ng build. > > Hmm... this sucks. What I did on Debian stable was that I compiled the > tarball from scratch. With configure prefix "usr". > > Then, it worked. But I just noticed there is also an issue that came > up during libnl3 port where netsniff-ng with --rfraw exits with > "Waiting for netlink ack failed!". I'll look into that when I'm back > home after my flight.
I spent some time playing with this but didn't have any luck. In googling around, I found that Wireshark uses (used) cmake and libnl3: http://anonsvn.wireshark.org/wireshark/trunk/cmake/modules/FindNL.cmake I tried modifying that file to try to fit what netsniff-ng needs, but couldn't get it to work. I also noticed that the current Wireshark tarball no longer contains this file, so maybe they had issues with libnl3 and moved on to something else? Thanks, -- Doug Burks http://securityonion.blogspot.com --
