Здрасти всем.
Тут решил поставить новую версию ntop скачал с
http://www.ntop.org версию ntop-4.1.0.tar.gz
распаковал и запускаю
./autogen.sh
дальше идет все нормально
Starting ntop automatic configuration system v.0.2.3
Please be patient, there is a lot to do...
1. Testing gnu tools....
libtool ..... 2.4
.... ok
automake .... 1.11.1
.... ok
autoconf .... 2.68
.... ok
2. Preparing for libtool ....
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Finding libtool.m4.in
.... found /usr/share/aclocal/libtool.m4
.... done
3. Create acinclude.m4, local definitions for automake ...
.... done
4. Running aclocal to create aclocal.m4 ...
acinclude.m4:238: the serial number must appear before any macro definition
.... done
5. Running autoheader to create config.h.in ...
.... done
6. Running automake to create Makefile.in ...
configure.in:119: installing `./config.guess'
Makefile.am:110: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
.... done
7. Running autoconf to create configure ...
.... done
mkdir: cannot create directory `m4': File exists
8. Running ./configure ...
запускается ./configure
и в конце выдает ошибку
*******************************************************************
*
* Checking for unique options for i686-pc-linux-gnu, gcc...
*
* This appears to be LINUX Ubuntu 11.10
*
* Testing for extra configuration options for LINUX Ubuntu 11.10
*
*******************************************************************
Test the compiler and setup CFLAGS...
checking if compiler accepts -W (warning flags)... yes
grep: libtool: No such file or directory
checking for pfring_open in -lpfring... no
Critical library/include tests...
checking for pcap_lookupdev in -lpcap... no
*** FATAL ERROR ***
It looks that you don't have the libpcap distribution installed.
Download, compile and, optionally, install it.
When finished please re-run this program.
You can download the latest source tarball at http://www.tcpdump.org/
configure: error: The LBL Packet Capture Library, libpcap, was not found!
root@ServerX:/ntop-4.1.0#
ну понятно что не хватает библиотеки libpcap
в этом то и проблема где ее взять и как ее установить? в интернете полазив толком не нашел ни чего
пробовал установить по разному
apt-get install libpcap libpcap-devel libcap libtool
не помогло.
Подаскажите пожалуйста как найти и установить эту библиотеку или избежать проверки ее при установки?
Спасибо!