Installationsprobleme: Nfsen

Hi, ich versuche den NetFlow Analyzier nfsen nach dieser Anleitung zu installieren: NetFlow: installation and configuration of NFDUMP and NfSen on Debian « Pierky’s Blog Leider scheitert es an der Installation von nfdump. Das in Debian Squeeze enthaltene Package scheint aber zu alt für nfsen 1.6.5 zu sein (so zeigt es jedenfalls die Web UI).

Code:
root@netflow:~/nfdump-1.6.5# make
make  all-recursive
make[1]: Entering directory `/root/nfdump-1.6.5'
Making all in .
make[2]: Entering directory `/root/nfdump-1.6.5'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/nfdump-1.6.5'
Making all in bin
make[2]: Entering directory `/root/nfdump-1.6.5/bin'
/bin/bash ../ylwrap grammar.y y.tab.c grammar.c y.tab.h grammar.h y.output grammar.output -- yacc  -d
../ylwrap: line 111: yacc: command not found
make[2]: *** [grammar.c] Error 1
make[2]: Leaving directory `/root/nfdump-1.6.5/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nfdump-1.6.5'
make: *** [all] Error 2
root@netflow:~/nfdump-1.6.5#

Er scheint das Kommando yacc nicht zu finden, also habe ich mit apt-file danach gesucht und es in 9base gefunden:
Code:
apt-get install 9base
Danach erstmal kein Erfolg, da /usr/lib/plan9/bin/yacc nicht in $PATH ist. Also habe es es aufgenommen:

Code:
export PATH=/usr/lib/plan9/bin:${PATH}

Jetzt meckert er wieder:

Code:
root@netflow:~/nfdump-1.6.5# make
make  all-recursive
make[1]: Entering directory `/root/nfdump-1.6.5'
Making all in .
make[2]: Entering directory `/root/nfdump-1.6.5'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/nfdump-1.6.5'
Making all in bin
make[2]: Entering directory `/root/nfdump-1.6.5/bin'
/bin/bash ../ylwrap grammar.y y.tab.c grammar.c y.tab.h grammar.h y.output grammar.output -- yacc  -d

 fatal error:cannot open parser /usr/lib/plan9/yacc/yaccpar: No such file or directory, /root/nfdump-1.6.5/bin/grammar.y:1634
make[2]: *** [grammar.c] Error 1
make[2]: Leaving directory `/root/nfdump-1.6.5/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nfdump-1.6.5'
make: *** [all] Error 2
root@netflow:~/nfdump-1.6.5#

Diesmal ist es also yaccpar, nur leider kann ich dazu nichts finden:

Code:
root@netflow:~# apt-file search /usr/lib/plan9/yacc/yaccpar
root@netflow:~#

Und nun?

Grüße
serow
 
yacc ist soweit ich weiss im Paket bison enthalten, evtl. mal damit probieren.
 
Zurück
Oben