Re: compiling pmacct on obsd6.8
Hi Folks, small update: I was recently in touch with the pmacct's Founder (Paolo Lucente) thanks to him we can now compile flawlessly the latest version of pmacct without introducing additional dependencies/external patches. Regards, Salvatore. --- January 12, 2021 3:08 PM, "Salvatore Cuzzilla" wrote: > 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" wrote: > >> On 2021-01-12, Kapetanakis Giannis wrote: >> >>> On 12/01/2021 10:25, Stuart Henderson wrote: >> >> On 2021-01-12, Masato Asou wrote: >>> Hi, >>> >>> From: Salvatore Cuzzilla >>> 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.
Re: compiling pmacct on obsd6.8
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" wrote: > On 2021-01-12, Kapetanakis Giannis wrote: > >> On 12/01/2021 10:25, Stuart Henderson wrote: > > On 2021-01-12, Masato Asou wrote: >> Hi, >> >> From: Salvatore Cuzzilla >> 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.
Re: compiling pmacct on obsd6.8
On 2021-01-12, Kapetanakis Giannis wrote: > On 12/01/2021 10:25, Stuart Henderson wrote: >> On 2021-01-12, Masato Asou wrote: >>> Hi, >>> >>> From: Salvatore Cuzzilla >>> 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.
Re: compiling pmacct on obsd6.8
On 12/01/2021 10:25, Stuart Henderson wrote: > On 2021-01-12, Masato Asou wrote: >> Hi, >> >> From: Salvatore Cuzzilla >> 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
Re: compiling pmacct on obsd6.8
On 2021-01-12, Masato Asou wrote: > Hi, > > From: Salvatore Cuzzilla > 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).
Re: compiling pmacct on obsd6.8
thanks for the advice, it helped. January 12, 2021 5:25 AM, "Masato Asou" wrote: > Hi, > > From: Salvatore Cuzzilla > 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. > -- > ASOU Masato
Re: compiling pmacct on obsd6.8
Hi, From: Salvatore Cuzzilla 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. -- ASOU Masato
compiling pmacct on obsd6.8
Hi Guys, 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 ... --- :wq, Salvatore.