Hi Jon, On Fri, Aug 10, 2012 at 8:15 PM, JP <[email protected]> wrote:
> I am new to linux and am experiencing issues in getting netsniff-ng compiled > under Centos 6.3. Just out of curiosity, have you tried the Red Hat prebuilt package for 0.5.7? Maybe it saves you some trouble ... http://koji.fedoraproject.org/koji/buildinfo?buildID=346670 > I installed the following packages: > > Aug 10 10:58:41 Installed: cmake-2.6.4-5.el6.x86_64 > Aug 10 11:05:26 Installed: ncurses-devel-5.7-3.20090208.el6.x86_64 > Aug 10 11:08:29 Installed: libnfnetlink-1.0.0-3.el6.x86_64 > Aug 10 11:08:32 Installed: libnetfilter_conntrack-0.0.100-2.el6.x86_64 > Aug 10 11:09:35 Installed: userspace-rcu-0.7.3-1.el6.x86_64 > Aug 10 11:09:54 Installed: userspace-rcu-devel-0.7.3-1.el6.x86_64 > Aug 10 11:16:24 Installed: libcli-1.8.6-2.el6.rf.x86_64 > Aug 10 11:16:46 Installed: libcli-devel-1.8.6-2.el6.rf.x86_64 >From what I see here, you forgot libnl and libgeoip resp. their -devel >variants. > but get the following error when trying to cmake: > > [root@stc0034635 build]# cmake .. > -- System has SO_ATTACH_FILTER/SO_DETACH_FILTER support > -- System has PF_PACKET sockets > -- System architecture is NOT strictly aligned > -- System has TX_RING support > -- Could NOT find Libnl (missing: LIBNL_LIBRARY LIBNL_INCLUDE_DIR) > pthread or libnl is missing on target. Skipping netsniff-ng build. > -- Could NOT find Libnl (missing: LIBNL_LIBRARY LIBNL_INCLUDE_DIR) > libnl is missing on target. Skipping trafgen build. > -- Found NaCl: /root/nacl/nacl-20110221/build/stc0034635/lib/amd64/libnacl.a > -- REQUIRED_VARS (missing: LIBNETFILTER_CONNTRACK_LIBRARY > LIBNETFILTER_CONNTRACK_INCLUDE_DIR) > Either ncurses, pthread, libGeoIP, liburcu or netfilter_conntrack is missing > on > target. Skipping flowtop build. > -- Configuring done > -- Generating done > -- Build files have been written to: > /root/Downloads/gnumaniacs-netsniff-ng-eb54b68/src/build Maybe give it a try to install the missing libraries and to rebuild. Cheers, Daniel -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] http://netsniff-ng.org
