[Nagiosplug-help] Trouble compiling 1.4 plugins

Subhendu Ghosh sghosh at sghosh.org
Tue Jul 12 12:06:47 CEST 2005


do you have radiusclient installed?  This seems to be due to the recent 
ppp package including a radiusclient.h but not a full radiusclient 
functionality.

We need to update the configure process to catch this.

-sg

On Tue, 12 Jul 2005, Justin Shore wrote:

> I'm trying to compile the 1.4 plugins on a Sun 280R running Gentoo 2005.0.  Portage doesn't contain any 2.x releases so I compiled 2.0b3 by hand (I always compiled by hand before Gentoo as well) and have it up and running, albeit without any plugins.  I'm now trying to compile the plugins.  The compile bombs out every time at the same spot, when trying to compile check_radius.
>
> if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap    -I/include  -g -O2 -MT check_radius.o -MD -MP -MF ".deps/check_radius.Tpo" -c -o check_radius.o check_radius.c; \
> then mv -f ".deps/check_radius.Tpo" ".deps/check_radius.Po"; else rm -f ".deps/check_radius.Tpo"; exit 1; fi
> check_radius.c: In function `main':
> check_radius.c:126: error: too few arguments to function `rc_avpair_add'
> check_radius.c:127: error: too few arguments to function `rc_avpair_add'
> check_radius.c:128: error: too few arguments to function `rc_avpair_add'
> check_radius.c:129: error: too few arguments to function `rc_avpair_add'
> check_radius.c:139: error: too few arguments to function `rc_avpair_add'
> check_radius.c:145: error: too few arguments to function `rc_send_server'
> make[2]: *** [check_radius.o] Error 1
> make[2]: Leaving directory `/usr/local/src/nagios/nagios-plugins-1.4/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/nagios/nagios-plugins-1.4'
> make: *** [all] Error 2
>
> It does this even though I've explicitly disabled check_radius with --without-check_radius.  I've been searching for the answer off and on for two weeks and have come up empty.  Does anyone have any insight on this problem?  FYI, I'm not new to Nagios.  However this is my first 2.x install and first time trying to get Nagios compiled on Sparc hardware.
>
> Thanks,
> Justin
>
> --
> Justin Shore, Network Engineer
> SKT Business Communication Solutions
> Office:  (316) 265-9555 x3217
>
>
>

-- 





More information about the Help mailing list