netoptimizer / IPTV-Analyzer

Fast MPEG2 Transport Stream Analyzer, based on Netfilter kernel module
www.iptv-analyzer.org
GNU General Public License v3.0
99 stars 55 forks source link

Problems with installations #27

Open skurudo opened 8 years ago

skurudo commented 8 years ago

We can't make package on Debian/Ubuntu ;-(

configure looks fine `checking for iptables... /sbin/iptables configure: Entering auto-detect mode for Xtables extensions dir xtlibdir configure: - Found xtlibdir: /lib/xtables checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxtables... yes checking linux/netfilter/x_tables.h usability... yes checking linux/netfilter/x_tables.h presence... yes checking for linux/netfilter/x_tables.h... yes make: *\ /lib/modules/3.2.0-4-amd64/build: No such file or directory. Stop. Found kernel version ...0 in /lib/modules/3.2.0-4-amd64/build ./configure: line 5300: test: : integer expression expected ./configure: line 5302: test: : integer expression expected checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating iptables-module/Makefile config.status: creating collector/lib/IPTV/Analyzer/Version.pm config.status: creating collector/etc/version config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands Processing Collector Daemon -- Calling Perl MakeMaker system Writing Makefile for iptv-collector Writing MYMETA.yml -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=- Visit the project homepage at: http://www.iptv-analyzer.org

Create bugreports, patches and insults via: https://github.com/netoptimizer/IPTV-Analyzer/issues or email: netoptimizer@brouer.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=- `

But this part worry us a lot: make: *** /lib/modules/3.2.0-4-amd64/build: No such file or directory. Stop. Found kernel version ...0 in /lib/modules/3.2.0-4-amd64/build

Make part: root@web:~/IPTV-Analyzer# make make all-recursive make[1]: Entering directory/root/IPTV-Analyzer' Making all in iptables-module make[2]: Entering directory `/root/IPTV-Analyzer/iptables-module'

-=-=-=-=- Kernel modules -=-=-=-=- make -C /lib/modules/3.2.0-4-amd64/build M=/root/IPTV-Analyzer/iptables-module modules make: Entering an unknown directory make: * /lib/modules/3.2.0-4-amd64/build: Нет такого файла или каталога. Останов. make: Leaving an unknown directory make[2]: * [modules] Ошибка 2 make[2]: Leaving directory /root/IPTV-Analyzer/iptables-module' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory/root/IPTV-Analyzer' make: *\ [all] Ошибка 2`

And finally error ;-(

How to resolve this problem?

netoptimizer commented 8 years ago

make: *\ /lib/modules/3.2.0-4-amd64/build: No such file or directory. Stop.

This indicate you didn't install the kernel headers/build dependencies.

Found an old Internet archive link to my old site: http://web.archive.org/web/20150329095630/http://www.iptv-analyzer.org/wiki/index.php/Compile_and_Install