On Thu, Nov 1, 2012 at 6:48 PM, Doug Burks <[email protected]> wrote: > On Thu, Nov 1, 2012 at 1:43 PM, Daniel Borkmann <[email protected]> > wrote: >> On Thu, Nov 1, 2012 at 3:29 PM, Jon Schipp <[email protected]> wrote: >>> FWIW: I'm having trouble with this too. I tried this on Ubuntu 10.04 >>> last night. >>> I downloaded the latest libnl3 from the author's website and compiled it. >>> cmake then found all the libraries. However, when I issue the "make" >>> I get a bunch of similar errors about being unable to find the header files: >>> >>> "/usr/include/libnl3/netlink/genl/genl.h:15:29: fatal error: >>> netlink/netlink.h: No such file or directory >>> ...." >>> >>> I tried all the suggestions mentioned above. >> >> Ok, seems I have to install an Ubuntu in KVM to reproduce all that. >> >> Another try could be to copy >> http://anonsvn.wireshark.org/wireshark/trunk/cmake/modules/FindNL.cmake >> into "netsniff-ng/src/cmake/modules/FindLibnl.cmake" and replace all >> ... >> >> * NL_FOUND into LIBNL_FOUND >> * NL_LIBRARIES into LIBNL_LIBRARIES >> * NL_INCLUDE_DIRS into LIBNL_INCLUDE_DIR > > I tried that this morning, but couldn't get it to work.
Thanks for the fast reply. I hope to get this done as soon as possible via KVM. High likely in the next release, we will just remove this cmake brain-damage and switch back to the classical make system. It's more predictable, well-known, has no bad surprises and one can customize it quite easily (also for cross-compiling). Personally, I don't think cmake has *any* benefit over the normal make in our case, it just obfuscates stuff for users and developers and hides important information. Thanks again, Daniel --
