[Nagiosplug-devel] [ nagiosplug-Bugs-1412721 ] check_dns does not compile on Debian 3.1

SourceForge.net noreply at sourceforge.net
Tue Mar 21 09:23:41 CET 2006


Bugs item #1412721, was opened at 2006-01-23 11:09
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1412721&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: snapshot tarball
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Sakari Lehtonen (sakari)
>Assigned to: Ton Voon (tonvoon)
Summary: check_dns  does not compile on Debian 3.1

Initial Comment:
Debian does not have nslookup, they use the package host instead. 
When compiling the nagios-plugins-HEAD-200601230052, compilation 
of check_dns fails with the following error:

check_dns.c: In function `main':
check_dns.c:81: error: `NSLOOKUP_COMMAND' undeclared (first use in 
this function)
check_dns.c:81: error: (Each undeclared identifier is reported only once
check_dns.c:81: error: for each function it appears in.)
make[2]: *** [check_dns.o] Error 1
make[2]: Leaving directory `/tmp/nagios-plugins-HEAD-200601230052/
plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nagios-plugins-HEAD-200601230052'
make: *** [all] Error 2

Version 1.4.2 of nagios-plugins compiles on this system, and it does 
warn about nslookup missing when running ./configure. The HEAD 
version does not warn about nslookup missing.

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2006-03-21 14:20

Message:
Logged In: YES 
user_id=664364

Sakari,

Thanks for the bug report. It seems that check_dns was trying to compile 
because the host command was found. However, check_dns does not actually 
use the host command at all. So the plugins 1.4.2 were incorrect in trying to 
compile check_dns.

I've fixed configure.in in CVS so that it will not test for the host command 
anymore and also fixed a few display issues during configure for checking 
nslookup. 

Please try the snapshot at http://nagiosplug.sf.net/snapshot. I'm marking 
this call as pending - please change the status if this is still a problem.

Ton

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1412721&group_id=29880




More information about the Devel mailing list