Il y a actuellement 272 visiteurs
Jeudi 25 Avril 2024
accueilactualitésdossierscomparer les prixtélécharger gratuitement vos logicielsoffres d'emploiforum informatique
Connexion
Créer un compte

ntop

L'informatique, ce n'est pas qu'un PC équipé de Windows. Ce forum est dédié aux utilisateurs de systèmes d'exploitation dérivés d'unix (GNU/Linux, *BSD, etc...) et aux autres OS alternatifs.

ntop

Message le 14 Déc 2007 13:51

bonjour

bonjour
j'ai essayé d'installer NTOP sous mon pc (fedora 7) avec la commande yum mais toujour j'ai trouvé des problémes .
est ce que il y a quelqun sai comment l'installe NTOP et comment fait exactement ?


Messages : 1
eric0712
Visiteur
Visiteur
 
Messages: 3
Inscription: 14 Déc 2007 13:36
 


Message le 14 Déc 2007 17:24

Il faudrait que tu postes les "problèmes" pour qu'on t'aide.

D'autre part, le NTOP est installable autrement, en SVN + compilation par exemple comme expliqué ici => http://www.ntop.org/download.html
Avatar de l'utilisateur
CaSa
PC-Infopraticien
PC-Infopraticien
 
Messages: 9041
Inscription: 13 Mai 2003 16:32
Localisation: Sisteron... et jamais loin d'une Debian
 

Message le 14 Déc 2007 18:34

bonsoir

donc si je tape cette commande voici le probléme


[root@localhost ntop-3.3]# make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
[root@localhost ntop-3.3]#
eric0712
Visiteur
Visiteur
 
Messages: 3
Inscription: 14 Déc 2007 13:36
 

Message le 14 Déc 2007 20:43

Généralement il faut taper un ./configure qui vérifie les bibliothèque, prépare les chemins les variables... avant le make.
Si tu suis la procédure, le ./autogen.sh devrait le remplacer. L'as-tu fait, que donne-t-il ?
Avatar de l'utilisateur
CaSa
PC-Infopraticien
PC-Infopraticien
 
Messages: 9041
Inscription: 13 Mai 2003 16:32
Localisation: Sisteron... et jamais loin d'une Debian
 

Message le 14 Déc 2007 23:40

bonsoir

voici que je trouve si je tape cette commande
[root@localhost ntop-3.3]# ./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 ..... 1.5.22
.... ok
automake .... 1.10
.... ok
autoconf .... 2.61
.... ok

2. Preparing for libtool ....
You should update your `aclocal.m4' by running aclocal.
.... done

3. Create acinclude.m4, local definitions for automake ...
.... done

4. Running aclocal to create aclocal.m4 ...
acinclude.m4:221: 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 ...
Makefile.am:119: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
.... done

7. Running autoconf to create configure ...
.... done

8. Running ./configure ...
I am going to run ./configure with no arguments
if you wish to pass any to it, please specify them on the ./autogen.sh command line.

Welcome to ntop, Version 3.3
copyright (c) 1998-2007 Luca Deri <deri@ntop.org>

Configuration script version v3.3-09-06-2007

************************************************************************
* *
* NOTICE: I know you're used to ignoring output from ./configure *
* *
* ntop has a lot of complexity and interdependences. *
* *
* Please, please AT LEAST read the stuff in these boxes! *
* *
*>>> The ACTION taken by ./configure is shown prefixed with '>>>' *
* *
* If that ACTION is unacceptable, *
*??? Steps to take to fix the problem are shown, prefixed with '???' *
* *
************************************************************************

NOTE:

To enable additional, debugging messages during the ./configure
execution, do this before running ./configure:

$ export NTOPCONFIGDEBUG=yes


Configuring ntop according to your request(s):
./configure /usr/local/share/config.site /usr/local/etc/config.site

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for aclocal.m4... yes
checking for depcomp... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required

Checking C compiler program and features...

checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3

*******************************************************************
*
* Checking for unique options for i686-pc-linux-gnu, gcc...
*
* This appears to be LINUX fedora 7
*
* Testing for extra configuration options for LINUX fedora 7
*
*******************************************************************

Test the compiler and setup CFLAGS...

checking if compiler accepts -W (warning flags)... yes

Critical library/include tests...

found in /usr/local
checking for pcap_next_ex in -lpcap... yes
checking for gdbm...
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... no

*******************************************************************
*
* ERROR: gdbm header or library routines are missing
* (yes means it was found, no means it was not found)
*
* gdbm.h...no
* gdbm_open() in -lgdbm...no
*
*>>> No way to proceed.
*
*??? 1. Install libgdbm
*??? and Rerun ./configure
*??? or 2. Use the --with-gdbm-xxxxx= options
*
*******************************************************************

configure: error: Unable to continue... aborting ./configure
[root@localhost ntop-3.3]# make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
eric0712
Visiteur
Visiteur
 
Messages: 3
Inscription: 14 Déc 2007 13:36
 

Message le 15 Déc 2007 10:19

L'erreur est parlante et la solution est dedans :
* ERROR: gdbm header or library routines are missing
* (yes means it was found, no means it was not found)
*
* gdbm.h...no
* gdbm_open() in -lgdbm...no
*
*>>> No way to proceed.
*
*??? 1. Install libgdbm
*??? and Rerun ./configure

*??? or 2. Use the --with-gdbm-xxxxx= options

Il manque une dépendance, il faut installer libgdbm et recommencer.
Je ne connais pas mais je pense qu'un "yum install libgdbm" doit peut-être suffire.
Avatar de l'utilisateur
CaSa
PC-Infopraticien
PC-Infopraticien
 
Messages: 9041
Inscription: 13 Mai 2003 16:32
Localisation: Sisteron... et jamais loin d'une Debian
 


Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 14 invités


.: Nous contacter :: Flux RSS :: Données personnelles :.
cron