[ Home | Liste | F.A.Q. | Risorse | Cerca... ]


[ Data: precedente | successivo | indice ] [ Argomento: precedente | successivo | indice ]


Archivio: openbsd@sikurezza.org
Soggetto: [openbsd] Per Matteo Mancini: Installazione Nagios su OpenBSD
Mittente: gambarino
Data: Wed, 11 Oct 2006 17:07:16 +0200 (CEST)
Ciao,
mi chiamo Luca e ti faccio le mie congratulazioni per il documento che hai scritto riguardo l'installazione di nagios su openbsd.
Ho seguito alla lettera cio' che hai scritto e nagios funziona pero' ho un problema con la visualizzazione della mappa dovuto allo statusmap di nagios.


In fase di compilazione:

LDFLAGS="-L/usr/local/lib -lttf" ./configure --sbindir=/var/www/nagios/cgi-bin \
--datadir=/var/www/nagios/htdocs --sysconfdir=/etc/nagios \
--localstatedir=/var/spool/nagios --with-gd-lib=/usr/local/lib \
--with-gd-inc=/usr/local/include --with-init-dir=/tmp/init \
--libexecdir=/usr/local/libexec/nagios --bindir=/usr/local/bin \



Ottengo il seguente errore:

checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no
checking for gdImagePng in -lgd (order 4)... no


*** GD, PNG, and/or JPEG libraries could not be located... *********

Boutell's GD library is required to compile the statusmap, trends
and histogram CGIs.  Get it from http://www.boutell.com/gd/, compile
it, and use the --with-gd-lib and --with-gd-inc arguments to specify
the locations of the GD library and include files.

NOTE: In addition to the gd-devel library, you'll also need to make
      sure you have the png-devel and jpeg-devel libraries installed
      on your system.

NOTE: After you install the necessary libraries on your system:
      1. Make sure /etc/ld.so.conf has an entry for the directory in
         which the GD, PNG, and JPEG libraries are installed.
      2. Run 'ldconfig' to update the run-time linker options.
      3. Run 'make clean' in the Nagios distribution to clean out
         any old references to your previous compile.
      4. Rerun the configure script.

NOTE: If you can't get the configure script to recognize the GD libs
      on your system, get over it and move on to other things.  The
      CGIs that use the GD libs are just a small part of the entire
      Nagios package.  Get everything else working first and then
      revisit the problem.  Make sure to check the nagios-users
      mailing list archives for possible solutions to GD library
      problems when you resume your troubleshooting.

********************************************************************

Purtroppo non so come risolverlo in quanto in OpenBSD sono un newbess.

(Su Linux bisogna installare i pacchetti devel per compilare correttamente le gd library ed avere il messaggio:
checking for gdImagePng in -lgd (order 1)... yes
GD library was found!)


La mia versione di OpenBSD e' la 3.9.

Potresti darmi un aiuto, perfavore?
Grazie e cordiali saluti.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





[ Home | Liste | F.A.Q. | Risorse | Cerca... ]

www.sikurezza.org - Italian Security Mailing List
(c) 1999-2005