Skip to content

[Bug] installed netmap not automatically detected. #669

@fklassen

Description

@fklassen

When installing netmap via sudo make install the include headers are installed in /usr/local/include, e.g.

install -m 0644 -D /home/developer/src/netmap/LINUX/../sys/net/netmap.h //usr/local/include/net/netmap.h
install -m 0644 -D /home/developer/src/netmap/LINUX/../sys/net/netmap_user.h //usr/local/include/net/netmap_user.h
install -m 0644 -D /home/developer/src/netmap/LINUX/../sys/net/netmap_virt.h //usr/local/include/net/netmap_virt.h
install -m 0644 -D /home/developer/src/netmap/LINUX/../sys/net/netmap_legacy.h //usr/local/include/net/netmap_legacy.h
install -m 0644 -D /home/developer/src/netmap/LINUX/../libnetmap/libnetmap.h //usr/local/include/libnetmap.h
install -D -m 644 /home/developer/src/netmap/LINUX/../share/man/man4/netmap.4 //usr/local/share/man/man4/netmap.4
install -D -m 644 /home/developer/src/netmap/LINUX/../share/man/man4/vale.4 //usr/local/share/man/man4/vale.4
install -D -m 644 /home/developer/src/netmap/LINUX/../share/man/man4/ptnet.4 //usr/local/share/man/man4/ptnet.4
make -C build-libnetmap install SRCDIR=/home/developer/src/netmap/LINUX/.. BUILDDIR=/home/developer/src/netmap DESTDIR="" PREFIX="/usr/local"

However configure command does not automatically detect it

To Reproduce
Steps to reproduce the behavior:

  1. download, compile and install netmap
  2. in Tcpreplay sources run ./configure with no other parameters

Expected behavior
netmap is automatically detected

Screenshots

./configure
...
##########################################################################
             TCPREPLAY Suite Configuration Results (4.3.4)
##########################################################################
libpcap:                    /usr (>= 0.9.6)
PF_RING libpcap             no
libdnet:                    no
autogen:                     (unknown - man pages will not be built)
Use libopts tearoff:        yes
64bit counter support:      yes
tcpdump binary path:        /usr/sbin/tcpdump
fragroute support:          no
tcpbridge support:          yes
tcpliveplay support:        yes

Supported Packet Injection Methods (*):
Linux TX_RING:              no
Linux PF_PACKET:            yes
BSD BPF:                    no
libdnet:                    no
pcap_inject:                yes
pcap_sendpacket:            yes **
pcap_netmap                 no
Linux/BSD netmap:           no
Tuntap device support:      yes

System (please complete the following information):

  • OS: Ubuntu
  • OS version: 20.04
  • Tcpreplay Version: 4.3.4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions