Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/06/2010, à 17:42

Rythme555

Problème d'installation de ntop

Bonjour,

J'ai un problème pour installer ntop sur ma machine. Ne pouvant pas utiliser apt (bloquer par le proxy et je  ne peux rien y faire) j'ai telecharger le fichier source. je le decompresse et je lance ./autogen.sh . Il a des dependances que je telecharges et apres il se lance. Le probleme est qu'apres la commande make ne fonctionne pas sad Voici ce que j'obtiens:

Téléchargements/ntop-3.4-pre3$ ./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.2.6
        .... ok
    automake .... 1.9.6
        .... ok
    autoconf .... 2.65
        .... 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'
        .... done

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

4. Running aclocal to create aclocal.m4 ...
aclocal:configure.in:183: warning: macro `AM_ENABLE_SHARED' not found in library
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

5. Running autoheader to create config.h.in ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

6. Running automake to create Makefile.in ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

7. Running autoconf to create configure ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure.in:183: error: possibly undefined macro: AM_ENABLE_SHARED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:5107: error: possibly undefined macro: m4_ifval
configure:7856: error: possibly undefined macro: _LT_SET_OPTIONS
configure:7856: error: possibly undefined macro: LT_INIT
        .... done

mkdir: ne peut créer le répertoire `m4': Le fichier existe
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.4-pre3 
  copyright (c) 1998-2010 Luca Deri <deri@ntop.org>

Configuration script version v3.4-pre3-07-03-2010

************************************************************************
*                                                                      *
* 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 

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 gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
./configure: line 5020: AM_ENABLE_SHARED: command not found
./configure: line 5027: LTOPTIONS_VERSION: command not found
./configure: line 5028: LTSUGAR_VERSION: command not found
./configure: line 5029: LTVERSION_VERSION: command not found
./configure: line 5030: LTOBSOLETE_VERSION: command not found
checking for a sed that does not truncate output... /bin/sed
./configure: line 5105: syntax error near unexpected token `lt_decl_varnames,'
./configure: line 5105: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'
--------@------/-laptop:~/Téléchargements/ntop-3.4-pre3$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
--------@------/-laptop:~/Téléchargements/ntop-3.4-pre3$

Si vous pouviez me dire quel est le probleme ^^

Hors ligne

#2 Le 05/06/2010, à 10:51

credenhill

Re : Problème d'installation de ntop

hello
est-ce que libtool est installé ?

Hors ligne

#3 Le 05/06/2010, à 12:59

kyncani

Re : Problème d'installation de ntop

Apt bloqué par un proxy ?!?
Tu sais que tu peux utiliser deux protocoles, http et ftp, et que tu peux utiliser des mirrors différents.
Edit: PS: Et concernant ton log, moi j'dirais mauvaise version de autoconf/automake. Mais beaucoup plus simple de juste changer de mirror pour résoudre ton pb de proxy.

Dernière modification par kyncani (Le 05/06/2010, à 13:01)

Hors ligne

#4 Le 05/06/2010, à 13:07

NooP

Re : Problème d'installation de ntop

Et que pour paramétrer un proxy au niveau APT, tu as les variables d'environnement :

export http_proxy="tonproxy:port"
export http_proxy_user="tondomaine\tonuser"
export http_proxy_pass="tonmotdepasse"

Où encore :

export http_proxy="http://tonuser:tonmotdepasse@tonproxy:port/"

Enfin, tu pourras tranquillement :

aptitude update
aptitude install ntop

'tondomaine' n'est utile que si tu dois t'authentifier avec un compte Windows sur le proxy.

Dernière modification par NooP (Le 05/06/2010, à 13:10)


Votez Macron, vous l'aurez dans le fion !

Hors ligne

#5 Le 14/06/2010, à 16:43

Rythme555

Re : Problème d'installation de ntop

Je remonte ce probleme car il m'est encore apparu apres avoir reinstaller ubuntu  ...

Concernant les messages precedent, ayant demandé a mes superieur, ils m'ont dit qu'il etait pas possible de passer par apt car cela etait bloqué en amont. Donc je suis obligé de tout installer manuellement.

Concernant libtool, il est bien installé (2.2.6) comme le confirme le test GNU tool dans le code du premier message et dans celui ci.

Starting ntop automatic configuration system v.0.2.3

  Please be patient, there is a lot to do...

1. Testing gnu tools....
    libtool ..... 2.2.6
        .... ok
    automake .... 1.9.6
        .... ok
    autoconf .... 2.65
        .... 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'
        .... done

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

4. Running aclocal to create aclocal.m4 ...
aclocal:configure.in:183: warning: macro `AM_ENABLE_SHARED' not found in library
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

5. Running autoheader to create config.h.in ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

6. Running automake to create Makefile.in ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
        .... done

7. Running autoconf to create configure ...
configure.in:184: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
acinclude.m4:263: LT_INIT is expanded from...
acinclude.m4:299: AM_PROG_LIBTOOL is expanded from...
configure.in:184: the top level
configure.in:184: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:184: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure.in:183: error: possibly undefined macro: AM_ENABLE_SHARED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:5107: error: possibly undefined macro: m4_ifval
configure:7856: error: possibly undefined macro: _LT_SET_OPTIONS
configure:7856: error: possibly undefined macro: LT_INIT
        .... done

mkdir: ne peut créer le répertoire `m4': Le fichier existe
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.4-pre3 
  copyright (c) 1998-2010 Luca Deri <deri@ntop.org>

Configuration script version v3.4-pre3-07-03-2010

************************************************************************
*                                                                      *
* 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 

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 gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
./configure: line 5020: AM_ENABLE_SHARED: command not found
./configure: line 5027: LTOPTIONS_VERSION: command not found
./configure: line 5028: LTSUGAR_VERSION: command not found
./configure: line 5029: LTVERSION_VERSION: command not found
./configure: line 5030: LTOBSOLETE_VERSION: command not found
checking for a sed that does not truncate output... /bin/sed
./configure: line 5105: syntax error near unexpected token `lt_decl_varnames,'
./configure: line 5105: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'

Si vous avez des idées je suis preneur..

Hors ligne

#6 Le 15/06/2010, à 03:58

NooP

Re : Problème d'installation de ntop

Bonjour,

Tu t'embêtes bien, et de toutes façons, tu seras coincé à un moment à un autre, car il te manquera des paquets.

Je vois, pour ton problème, deux solutions :

1) Créer un miroir local sur un disque externe depuis chez toi (Où ailleurs) et le rapporter à ton taf
2) Utiliser AptOnCd (Ce qui reviens sensiblement au même).


Votez Macron, vous l'aurez dans le fion !

Hors ligne

#7 Le 10/09/2010, à 16:50

opendoc

Re : Problème d'installation de ntop

Salut,
Sinon tu peux modifier ta conf apt :

sudo vim /etc/apt/apt.conf
Acquire::http::Proxy "http://nom-de-ton-proxy:3128/";

Alex

Hors ligne