Hi,
ich versuche gerade die Monitoring Software Nagios v.2.0b4 auf einem Debian Sid zu installieren.
Damit bin ich im Prinzip auch ganz gut durchgekommen.. jedoch fehlt mir zum kompilieren der statusmap.cgi (auch noch einige andere cgi's) die gd library sowie die jpeg und png lib
(auch als devel versionen)
ich glaub inzwischen über apt-get so ziemlich alles was mit den namen zu tun hat installiert zu haben und ich finde einfach nicht raus welche packete ich brauche bzw. das configure script findet die immer noch nicht.
thx4answers
Nagios Kompilier Problem: libgd
-
- Beiträge: 5
- Registriert: 06.12.2003 19:36:18
- Wohnort: Berlin
-
Kontaktdaten:
- justaclown
- Beiträge: 175
- Registriert: 01.08.2005 19:50:34
-
- Beiträge: 5
- Registriert: 06.12.2003 19:36:18
- Wohnort: Berlin
-
Kontaktdaten:
Code: Alles auswählen
[...]
checking for main in -liconv... no
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.
********************************************************************
[...]
wie gesagt hab einfach nach libgd gesucht und einfach alles installiert was irgendwie mit dem namen zusammenhängt.. hab sogar eine /usr/lib/libgd.so.1
-
- Beiträge: 5
- Registriert: 06.12.2003 19:36:18
- Wohnort: Berlin
-
Kontaktdaten:
ok habs inzwischen gefunden...
auf den deb servern die ich für apt benutzt habe gabs die packete die übrigens die namen
libgd2 und libgd2-dev tragen nicht aber ich hab sie über eine andere quelle downloaden können und jetzt gehts
deb http://agrogeomatic.educagri.fr/debian stable main
deb-src http://agrogeomatic.educagri.fr/debian stable main
trotzdem danke
auf den deb servern die ich für apt benutzt habe gabs die packete die übrigens die namen
libgd2 und libgd2-dev tragen nicht aber ich hab sie über eine andere quelle downloaden können und jetzt gehts
deb http://agrogeomatic.educagri.fr/debian stable main
deb-src http://agrogeomatic.educagri.fr/debian stable main
trotzdem danke