Fedora Core 1 - Nagios 1.2 - Make error

Wickus Botha wickus.botha at za.tiscali.com
Tue Mar 9 14:38:29 CET 2004


Hi Tom

I'm currently running nagios with 500+ hosts and 2200+ services with
nagios 1.2 without any compile problems.

However i took a clean copy of 1.2 and use your configure command after
it was finished i did a make all as well. Exact same error.

I took this option out --enable-DEBUG1 and did the whole process again.

It compiled fine without the --enable-DEBUG1 option. Maybe some of the
programmers can tell u more

Wickus


On Tue, 2004-03-09 at 11:43, Tom Brown wrote:
> Hi,
> 
> Has anyone compiled Nagios-1.2 and got it running on Fedora Core 1?
> 
> I get the compile to run OK using
> 
> ./configure --prefix=/opt/nagios-1.2 --with-nagios-user=nagios --with-nagios
> -grp=nagios --with-mail=/bin/mail --with-command-user=nagios --with-command-
> grp=nagios --with-init-dir=/etc/rc.d/init.d --with-lockfile=/opt/nagios-1.2/
> var/nagios.lock --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include --wi
> th-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --enable-DEBUG1 --enable-emb
> edded-perl --with-perlcache
> 
> however when i 'make all' it bombs with
> 
> make[1]: Entering directory `/home/tom/source/nagios-1.2/cgi'
> gcc -g -O2 -I/opt/gd/include  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
>  -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.3/i386-linux
> -thread-multi/CORE  -DHAVE_CONFIG_H -DNSCGI -L/opt/gd/lib  avail.c getcgi.o
> cgiutils.o auth.o popen.o  ../common/objects.c ../xdata/xodtemplate.c
> ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi
> ../xdata/xodtemplate.c: In function `xodtemplate_add_object_property':
> ../xdata/xodtemplate.c:1344: error: `temp_buffer' undeclared (first use in
> this function)
> ../xdata/xodtemplate.c:1344: error: (Each undeclared identifier is reported
> only once
> ../xdata/xodtemplate.c:1344: error: for each function it appears in.)
> ../xdata/xodtemplate.c:1346: error: `NSLOG_CONFIG_ERROR' undeclared (first
> use in this function)
> make[1]: *** [avail.cgi] Error 1
> make[1]: Leaving directory `/home/tom/source/nagios-1.2/cgi'
> make: *** [all] Error 2
> 
> What OS in the RedHat family have people had 1.2 compiling on OK?
> 
> thanks
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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