Closed houmie closed 1 year ago
Hi Vitaly @vel21ripn
Just to add more details. I just tested it once again with Debian 12. It seems that nDPI is incompatible with Iptables v1.8.9.
It complains that No pkg-config --variable=xtlibdir xtables.
admin@server:~/nDPI/ndpi-netfilter$ make
make -C ipt
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/ipt'
Makefile:10: *** No pkg-config --variable=xtlibdir xtables. Stop.
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/ipt'
make: *** [Makefile:2: all] Error 2
This works all fine with Debian 11. It should be the same issue with latest Ubuntu, as Ubuntu is based on Debian. Do you think you could kindly provide a fix for this?
Debian 11 is slowly getting deprecated. Thank you, Houman
A bit more details:
Even though xtables is installed, pkg-config can't find it.
admin@server: sudo apt install xtables-addons-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xtables-addons-common is already the newest version (3.23-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pkg-config --variable=xtlibdir xtables
shows nothing.
Great news. It seems on Debian 12 we need to explicitly install:
sudo apt install libxtables-dev
Now it works. Yeeees!
There is only a small warning, not sure if this matters much:
Warning: modules_install: missing 'System.map' file. Skipping depmod.
admin@server:~/nDPI/ndpi-netfilter$ sudo make modules_install
make -C src modules_install
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/src'
make -C /lib/modules/6.1.0-12-amd64/build M=$PWD modules_install;
make[2]: Entering directory '/usr/src/linux-headers-6.1.0-12-amd64'
INSTALL /lib/modules/6.1.0-12-amd64/extra/xt_ndpi.ko
DEPMOD /lib/modules/6.1.0-12-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-12-amd64'
if [ "" != "true" ]; then depmod -a; fi
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/src'
Describe the bug
While trying to compile it on Debian 12:
I get this error:
Expected behavior
It should compile it as expected.
nDPI Environment (please complete the following information):
config.log
file generated after./configure
ran (if you are building from source).config.log
Thank you