Questin about nagios compilation

Tom Welsh twelsh at square-box.com
Wed May 28 02:28:14 CEST 2003


If you have the libs installed and they are not being found. I normally
use the following

./configure --prefix=/usr/local/nagios --with-cgi-url=/nagios/cgi-bin
--with-htmurl=/nagios/ --with-nagios-user=nagios
--with-nagios-grp=nagios --with-template-objects
--with-gd-inc=/usr/include --with-gd-lib=/usr/lib

Note the last two options specifying where gd libs and includes lives

HTH

Tom welsh
twelsh at square-box.com


DISCLAIMER: This e-mail contains proprietary information some or all of
which may be legally privileged. It is for the intended recipient only.
If an addressing or transmission error has misdirected this e-mail,
please notify the author by replying to this e-mail. If you are not the
intended recipient you must not use, disclose, distribute, copy, print,
or rely on this e-mail.

Sender accepts no liability for any damage resulting from the use and/or
acceptation of the content of this e-mail. 

Always scan attachments before opening them.

The views expressed in this communication may not necessarily be the
views held by squareBOX technologies ltd

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeyri
Bautista
Sent: 27 May 2003 23:15
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Questin about nagios compilation

Hi,

I have installed nagios, and it running very well, but I need compile
with 
the --with-default-perfdata and
--with-default-extinfo, but when I execute the following:

./configure --prefix=/usr/local/nagios --with-cgiu
rl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios 
--with-nagio
s-grp=nagios --with-default-perfdata --with-default-extinfo

appear the following error:

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

But I have installed the gd lib, libpng and libjpeg

Any know what can I do for solve that?

Thanks,

Jeyri Bautista



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list