x86_64-pc-linux-gnu-gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.1\" -DCOMPILE_ARGS=\"\ --prefix=/usr\ --build=x86_64-pc-linux-gnu\ --host=x86_64-pc-linux-gnu\ --mandir=/usr/share/man\ --infodir=/usr/share/info\ --datadir=/usr/share\ --sysconfdir=/etc\ --localstatedir=/var/lib\ --libdir=/usr/lib64\ --enable-64bit\ --disable-debug\ --enable-geoip\ --enable-ipv6\ --disable-mongodb\ --enable-mysql\ --enable-pgsql\ --enable-sqlite3\ --enable-threads\ --enable-ulog\ --with-mysql-includes=/usr/include/mysql\ --with-mysql-libs=/usr/lib64\ --disable-debug\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DV4_MAPPED=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DCUT_MYSQLINCLUDES_DIR=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DWITH_GEOIP=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DENABLE_THREADS=1 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -I. -I. -O0 -pipe -O0 -g -W -Wall -DENABLE_ULOG -I/usr/include/mysql -c uacctd.c In file included from uacctd.c:27:0: uacctd.h:9:43: fatal error: linux/netfilter_ipv4/ipt_ULOG.h: No such file or directory #include <linux/netfilter_ipv4/ipt_ULOG.h> ^ compilation terminated. [ebuild R ] net-analyzer/pmacct-1.5.1 USE="64bit geoip ipv6 mysql postgres sqlite threads ulog* -debug (-mongodb)"
Created attachment 486162 [details] emerge --info
Created attachment 486164 [details] build-pmacct.txt.bz2 build.log
Why do you have USE=ulog enabled?
Well ulogd seemed a good thing to enable globally if you are just getting use to iptables and want to see what is happening where. That's not to say that I could not just pull a couple rules out of another distribution and call it quits, but I wanted to get wet. Aside form the fact that pmacct will not build, was it a bad choice?
commit dd1c49efcca1068bd18aa821bf81e183defcad87 Author: Jeroen Roovers <jer@gentoo.org> Date: Sun May 13 17:58:24 2018 +0200 net-analyzer/pmacct: Old. Package-Manager: Portage-2.3.36, Repoman-2.3.9