I have now found that I must run autoconf right after patching. Doh!
Unfortunately this is not all I need for it to work.
I'd be happy to know how to go on from here, or if I missed something else.
Thanks.
Daniel
Here's what I get when I 'make all' now (xlogdb.diffs patched Nagios ver.
1.0b6):
[snip]
# make all
cd ./base && make
make[1]: Entering directory `/usr/local/src/nagios-1.0b6/base'
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o checks.o
checks.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o config.o
config.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o commands.o
commands.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o
flapping.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o logging.o
logging.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o
notifications.o notifications.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o
sehandlers.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o utils.o
utils.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o
sretention.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o
perfdata.c
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql/ -L/
usr/lib/ -lmysqlclient nagios.c checks.o config.o commands.o flapping.o
logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c
../common/comments.c ../xdata/xcddb.c ../common/objects.c
../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o
../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c
../xdata/xlogdb.c -rdynamic -L/usr/local/lib
/usr/lib/perl5/5.6.1/i586-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl
5/5.6.1/i586-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil -lm -o
nagios
../common/downtime.c: In function `handle_scheduled_downtime':
../common/downtime.c:484: parse error before `else'
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-1.0b6/base'
make: *** [all] Error 2
[snap]
PS:
In case anybody cares, here's what make all on a patched ver. 1.0 gives me:
[snip]
gcc -g -O2 -I/usr/include/mysql/ -I/usr/local/include/ -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib
/perl5/5.6.1/i586-linux/CORE -DHAVE_CONFIG_H -DNSCGI -L/u
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ryan Liles [mailto:lilesb@ijet.com