I compiled the latest release (v1.7.5) using a recent version of libpcap. enough to add "--with-pcap-libs=/path/to/libpcap-1.x.x --with-pcap-includes=/path/to/libpcap-1.x.x" to the ./configure.
January 12, 2021 1:46 PM, "Stuart Henderson" <[email protected]> wrote: > On 2021-01-12, Kapetanakis Giannis <[email protected]> wrote: > >> On 12/01/2021 10:25, Stuart Henderson wrote: > > On 2021-01-12, Masato Asou <[email protected]> wrote: >> Hi, >> >> From: Salvatore Cuzzilla <[email protected]> >> Date: Mon, 11 Jan 2021 17:40:21 +0100 >> >> I'm having some troubles with compiling the latest version of pmacct >> (https://github.com/pmacct/pmacct) on obsd6.8 . >> >> I just wanted to know if someone was successful with it ... >> >> You can use /usr/ports/net/pmacct. > > That is not the latest version; OpenBSD's libpcap is too old for newer > pmacct which uses PCAP_NETMASK_UNKNOWN (added in 1.1.0, released 2010). >> pkg version runs fine for me on 6.8 >> >> # pkg_info pmacct >> Information for inst:pmacct-1.7.1 >> >> G > > That is a bit old and missing a lot of useful/interesting things in > the newer versions, especially on the BGP side.

