[Nagiosplug-devel] [ nagiosplug-Bugs-818744 ] configure script trouble/getloadavg.c compile error
SourceForge.net
noreply at sourceforge.net
Thu Oct 9 02:00:04 CEST 2003
Bugs item #818744, was opened at 2003-10-06 19:32
Message generated for change (Comment added) made by thonar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=818744&group_id=29880
Category: Parsing problem
Group: Release (specify)
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Jan Kozanek (thonar)
Assigned to: Ton Voon (tonvoon)
Summary: configure script trouble/getloadavg.c compile error
Initial Comment:
Main configure script in nagios-plugins-1.3.1 tarball
release makes a mistake when checking for locale.h
header file. Although in config.log is correctly noted
that locale.h was found, final config.status doesn't
include the reference and thus lib/getloadavg.c doesn't
compile correctly, because the header file is not included.
The patch for getloadavg.c below deals just with the
consequences - it enables successful compile. However
the problem is definitely in the main configure script.
--<CUT>---
101,103c101
< #if HAVE_LOCALE_H
< # include <locale.h>
< #endif
---
> #include <locale.h>
--<CUT>---
System is Suse 6.2 (I know, I know, it's old, but...)
with locale.h placed in here: /usr/include/ Besides
this, after using the patch, whole automake/compile
runs like a charm.
----------------------------------------------------------------------
>Comment By: Jan Kozanek (thonar)
Date: 2003-10-09 10:59
Message:
Logged In: YES
user_id=226635
Correct, it worked fine with
snapshot/nagios-plugins-r1_3_0-200310030007.tar.gz
However automake hasn't worked for me (my box probably has
outdated versions of these utils), the generic configure
script found libraries correctly and I succeeded compiling
lib/getloadavg.c manually.
I'm marking the bug as closed, thanks.
Jan
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2003-10-07 15:12
Message:
Logged In: YES
user_id=664364
Jan,
Thanks for the report. I think this is already be fixed in the
r1_3_0 branch. Can you try the latest r1_3_0 snapshot at
http://nagiosplug.sourceforge.net/snapshot?
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=818744&group_id=29880
More information about the Devel
mailing list