Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > SUSE
SUSE Vos questions sur la distribution Suse
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 30/11/2011, 14h54   #1
Invité régulier
 
Homme Kévin M.
Étudiant
Inscription : novembre 2011
Messages : 13
Détails du profil
Informations personnelles :
Nom : Homme Kévin M.
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : novembre 2011
Messages : 13
Points : 9
Points : 9
Par défaut procédure nagios : make impossible

Bonjour,

Je suis sous SUSE 11.3

J'ai pour projet de monter un Nagios sur mon réseau afin de surveiller ce dernier.

J'ai trouvé un très bon tuto sur developpez.com.

Simplement je suis bloqué au moment où il me demande d'effectuer la commande make.

J'ai effectué la commande afin de l'installer mais rien n'y fait.

Code :
supervision:/nagios/download/nagios-3.2.3 # make all
il me dit
Citation:
make: *** Pas de règle pour fabriquer la cible « all ». Arrêt.
j'ai pourtant suivi le tuto à la lettre...

Cela fait 2 heures que je cherche sur Internet et sur les forums mais rien.

De plus, je suis un débutant Linux...

A quoi est dû ce problème ?

Merci d'avance, votre aide me sera très précieuse.
kevin08 est déconnecté   Envoyer un message privé Réponse avec citation 01
Vieux 30/11/2011, 15h03   #2
Nouveau Membre du Club
 
Inscription : février 2007
Messages : 68
Détails du profil
Informations forums :
Inscription : février 2007
Messages : 68
Points : 27
Points : 27
Quelles commandes as-tu passées une fois que tu as décompresser ton archive ?

./configure ? Avec quelles options ?
Matalobos est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 30/11/2011, 15h42   #3
Invité régulier
 
Homme Kévin M.
Étudiant
Inscription : novembre 2011
Messages : 13
Détails du profil
Informations personnelles :
Nom : Homme Kévin M.
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : novembre 2011
Messages : 13
Points : 9
Points : 9
j'ai suivi le tuto à la lettre donc :

Code :
./configure --with-command-group=nagcmd
kevin08 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 30/11/2011, 15h58   #4
Nouveau Membre du Club
 
Inscription : février 2007
Messages : 68
Détails du profil
Informations forums :
Inscription : février 2007
Messages : 68
Points : 27
Points : 27
Quel a été le retour de la commande ?

Tu peux la repasser à la limite, ça ne gênera pas. Recopie le ici si tu peux, même si c'est long, ce n'est pas grave.
Matalobos est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 30/11/2011, 15h58   #5
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Salut,

A mon avis ton fichier Makefile n'a pas été généré suite à une erreur du configure.


Tu devrais voir le message suivant à la fin du configure. Est-ce que c'est le cas? Si non, montre nous l'erreur que tu rencontres.

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
*** Configuration summary for nagios 3.2.3 10-03-2010 ***:
 
 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagios,nagcmd
            Embedded Perl:  no
             Event Broker:  yes
        Install ${prefix}:  /usr/local/nagios
                Lock file:  ${prefix}/var/nagios.lock
   Check result directory:  ${prefix}/var/spool/checkresults
           Init directory:  /etc/rc.d/init.d
  Apache conf.d directory:  /etc/httpd/conf.d
             Mail program:  /bin/mail
                  Host OS:  linux-gnu
 
 Web Interface Options:
 ------------------------
                 HTML URL:  http://localhost/nagios/
                  CGI URL:  http://localhost/nagios/cgi-bin/
 Traceroute (used by WAP):  /bin/traceroute
 
 
Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.
 
[root@server nagios-3.2.3]# make all
cd ./base && make
make[1]: entrant dans le répertoire « /usr/src/nagios-3.2.3/base »
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o broker.o broker.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o nebmods.o nebmods.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o config.o config.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o commands.o commands.c
.....
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 20
Vieux 30/11/2011, 19h33   #6
Invité régulier
 
Homme Kévin M.
Étudiant
Inscription : novembre 2011
Messages : 13
Détails du profil
Informations personnelles :
Nom : Homme Kévin M.
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : novembre 2011
Messages : 13
Points : 9
Points : 9
Voici ce que j'ai en retour...

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# ./configure --with-command-group=nagcmd
 
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.[/quote]
 
Voici ce que contient le fichier config.log
 
[quote]This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was
 
  $ ./configure --with-command-group=nagcmd
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = linux-i5j5
uname -m = i686
uname -r = 2.6.34-12-default
uname -s = Linux
uname -v = #1 SMP 2010-06-29 02:39:08 +0200
 
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
 
/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
 
 
## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1815: checking for a BSD-compatible install
configure:1871: result: /usr/bin/install -c
configure:1890: checking build system type
configure:1908: result: i686-pc-linux-gnu
configure:1930: checking host system type
configure:1945: result: i686-pc-linux-gnu
configure:2016: checking for gcc
configure:2046: result: no
configure:2113: checking for cc
configure:2160: result: no
configure:2216: checking for cl.exe
configure:2246: result: no
configure:2275: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
 
## ----------------- ##
## Output variables. ##
## ----------------- ##
 
BASEEXTRALIBS=''
BROKERLIBS=''
BROKER_H=''
BROKER_LDFLAGS=''
BROKER_O=''
CC=''
CFLAGS=''
CGIEXTRAS=''
CHECKRESULTDIR=''
COMMAND_OPTS=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GDLIBS=''
GREP=''
HTTPD_CONF=''
INITDIR=''
INSTALL='/usr/bin/install -c'
INSTALLPERLSTUFF=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_OPTS=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAIL_PROG=''
MOD_CFLAGS=''
MOD_LDFLAGS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PACKDIR=''
PATH_SEPARATOR=':'
PATH_TO_TRACEROUTE=''
PERL=''
PERLDIR=''
PERLLIBS=''
PERLXSI_O=''
SET_MAKE=''
SHELL='/bin/sh'
SNPRINTF_O=''
SOCKETLIBS=''
STRIP=''
THREADLIBS=''
TMPDIR=''
USE_EVENTBROKER=''
USE_LIBTAP=''
VERSION=''
XCDC=''
XCDH=''
XDDC=''
XDDH=''
XODC=''
XODH=''
XPDC=''
XPDH=''
XRDC=''
XRDH=''
XSDC=''
XSDH=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cgiurl=''
command_grp=''
command_user=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
htmurl=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
init_dir=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lockfile=''
mandir='${datarootdir}/man'
nagios_grp=''
nagios_name=''
nagios_user=''
nagiostats_name=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
 
## ----------- ##
## confdefs.h. ##
## ----------- ##
 
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
 
configure: exit 1
Merci d'avance
kevin08 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 30/11/2011, 21h30   #7
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Citation:
configure: error: no acceptable C compiler found in $PATH
Il ne trouve pas de compilateur C. Il faut donc installer le package gcc.
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 20
Vieux 01/12/2011, 10h17   #8
Invité régulier
 
Homme Kévin M.
Étudiant
Inscription : novembre 2011
Messages : 13
Détails du profil
Informations personnelles :
Nom : Homme Kévin M.
Localisation : France, Marne (Champagne Ardenne)

Informations professionnelles :
Activité : Étudiant
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : novembre 2011
Messages : 13
Points : 9
Points : 9
Il faut vraiment que j'apprenne à lire les débuts de tuto moi

Ca fonctionne !!

Merci !
kevin08 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 00h48.


 
 
 
 
Partenaires

Hébergement Web