Please read INSTALL. ;-) Everything is documented there.

You even have one-line package deps install recipes for Debian/Fedora.

On 02/26/2013 10:18 AM, M.Rashid Zamani wrote:
I fixed libGeoIP by installing libGeoIP-devel and debug, but now I get

~/netsniff-ng # make
/bin/sh: /root/.bashrc: No such file or directory
NACL_LIB_DIR/NACL_INC_DIR is undefined, building libnacl with curvetun!
Building netsniff-ng toolkit (0.5.8-rc0) for x86_64-suse-linux:
Building netsniff-ng:
   CC    geoip.c
geoip.c:75:1: warning: missing initializer [-Wmissing-field-initializers]
geoip.c:75:1: warning: (near initialization for ‘empty.country_code3’)
[-Wmissing-field-initializers]
   CC    mac80211.c
mac80211.c:19:38: fatal error: libnl3/netlink/genl/genl.h: No such file or
directory
compilation terminated.
make: *** [netsniff-ng/mac80211.o] Error 1

and I have no clue to fix it....does anyone know how to fix this?

TIA


On Tuesday, February 26, 2013 12:16:11 PM UTC+3:30, Daniel Borkmann wrote:

On 02/26/2013 09:33 AM, M.Rashid Zamani wrote:
Hi,

I have cloned the repo but when trying to make I face following problem:

~/netsniff-ng # make
/bin/sh: /root/.bashrc: No such file or directory
NACL_LIB_DIR/NACL_INC_DIR is undefined, building libnacl with curvetun!
Building netsniff-ng toolkit (0.5.8-rc0) for x86_64-suse-linux:
Building netsniff-ng:
    CC    dissector.c
    CC    dissector_eth.c
    CC    dissector_80211.c
    CC    proto_arp.c
    CC    proto_ethernet.c
    CC    proto_icmpv4.c
    CC    proto_icmpv6.c
    CC    proto_igmp.c
    CC    proto_ip_authentication_hdr.c
    CC    proto_ip_esp.c
    CC    proto_ipv4.c
    CC    proto_ipv6.c
    CC    proto_ipv6_dest_opts.c
    CC    proto_ipv6_fragm.c
    CC    proto_ipv6_hop_by_hop.c
    CC    proto_ipv6_in_ipv4.c
    CC    proto_ipv6_mobility_hdr.c
    CC    proto_ipv6_no_nxt_hdr.c
    CC    proto_ipv6_routing.c
    CC    proto_lldp.c
    CC    proto_none.c
    CC    proto_tcp.c
    CC    proto_udp.c
    CC    proto_vlan.c
    CC    proto_vlan_q_in_q.c
    CC    proto_mpls_unicast.c
    CC    proto_80211_mac_hdr.c
    CC    xio.c
    CC    xutils.c
    CC    xmalloc.c
    CC    hash.c
    CC    bpf.c
    CC    bpf_comp.c
bpf_comp.c:7:18: fatal error: pcap.h: No such file or directory
compilation terminated.
make: *** [netsniff-ng/bpf_comp.o] Error 1

Looks like pcap header files are missing. Have you installed them?

I went to the file tried to comment out the line and obviously it made
things worst. How can I overcome this error?

btw I am running netsniff-ng on
Linux 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012
(efb5ff4) x86_64 x86_64 x86_64 GNU/Linux
NAME=openSUSE
VERSION = 12.1 (Asparagus)
VERSION_ID="12.1"
PRETTY_NAME="openSUSE 12.1 (Asparagus) (x86_64)"
ID=opensuse

and
# rpm -V -v libpcap1
.........    /usr/lib64/libpcap.so.1
.........    /usr/lib64/libpcap.so.1.1.1
.........    /usr/share/doc/packages/libpcap1
.........  d /usr/share/doc/packages/libpcap1/CHANGES
.........  d /usr/share/doc/packages/libpcap1/CREDITS
.........  d /usr/share/doc/packages/libpcap1/LICENSE
.........  d /usr/share/doc/packages/libpcap1/README
.........  d /usr/share/doc/packages/libpcap1/README.linux
.........  d /usr/share/doc/packages/libpcap1/TODO
.........  d /usr/share/man/man7/pcap-filter.7.gz
.........  d /usr/share/man/man7/pcap-linktype.7.gz


Cheers




--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to