Bonjour à tous,
Je cherche à installer ntop sur mon serveur, voila ce qui se passe :
- Je télécharge
- Je décompresse
- ./autogen.sh
...
...
-------------------------------------------------------------------
Creating files...
configure: creating ./config.status
version.c...
===================================================================
*******************************************************************
*
* NOTE: ./configure is now complete!
*
* All of the obviously FATAL errors would cause you to
* abort before this point, so while you SHOULD scroll
* back and check for error/warning/note messages,
* you probably will not...
*
++
++ If you like ntop, please do not forget to support its
++ development. See SUPPORT_NTOP.txt for more information.
++
++ Thanks for supporting ntop!
++
*
* NEXT STEP(S):
*
* Building ntop requires GNU Make, so to build ntop, type
* 'make' (or on *BSD and Solaris systems, 'gmake')
*
*******************************************************************
.... autogen.sh done
just type make to compile ntop
[root@Serv-Ntop ntop]#
- Donc je tape "make"
...
...
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT ntop.lo -MD -MP -MF .deps/ntop.Tpo -c -o ntop.lo ntop.c
gcc -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT ntop.lo -MD -MP -MF .deps/ntop.Tpo -c ntop.c -fPIC -DPIC -o .libs/ntop.o
gcc -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT ntop.lo -MD -MP -MF .deps/ntop.Tpo -c ntop.c -o ntop.o >/dev/null 2>&1
mv -f .deps/ntop.Tpo .deps/ntop.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT perl.lo -MD -MP -MF .deps/perl.Tpo -c -o perl.lo perl.c
gcc -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT perl.lo -MD -MP -MF .deps/perl.Tpo -c perl.c -fPIC -DPIC -o .libs/perl.o
In file included from /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2382,
from perl.c:32:
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/handy.h:85:1: warning: "bool" redefined
In file included from ntop.h:490,
from perl.c:26:
globals-structtypes.h:104:1: warning: this is the location of the previous definition
perl.c:38: warning: no previous prototype for 'handlePerlHTTPRequest'
perl.c: In function 'handlePerlHTTPRequest':
perl.c:45: error: 'argc' undeclared (first use in this function)
perl.c:45: error: (Each undeclared identifier is reported only once
perl.c:45: error: for each function it appears in.)
perl.c:45: error: 'argv' undeclared (first use in this function)
perl.c:45: error: 'env' undeclared (first use in this function)
make[2]: *** [perl.lo] Erreur 1
make[2]: quittant le répertoire « /home/Administrateur/Bureau/ntop »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/Administrateur/Bureau/ntop »
make: *** [all] Erreur 2
[root@Serv-Ntop ntop]#
Sans doute il me manque un package perl, mais lequel ? j'ai pas mal cherché et rien trouvé....
Avez-vous une idée ?