On Sat, Mar 12, 2011 at 1:20 PM, Kristian Lyngst=C3=B8l
wrote:
> I've started working on making NRPE somewhat maintainable, as it's a
> bit of a mess in its current state.
>
> The original goal was adding IPv6-support, which I've done, but it has
> escalated somewhat after that.
>
> I've since:
>
> =C2=A0- Transitioned to autotools/autoconf for a somewhat more convenient
> build system
> =C2=A0- ... Introduced system-wide header files (...)
> =C2=A0- Started sorting out what's local and global, removing redundant
> prototypes and declaring functions static
> =C2=A0- Imported a couple of patches kept by Debian that were reasonable.
> =C2=A0- Re-indented the code (Normally I wouldn't do this on a project
> that's not mine, but I wasn't able to wrap my head around the style as
> it was -- too far off)
> =C2=A0- Removed several redundant comments (Stuff like "/* wait for
> connections */ wait_for_connections();" which only serves as noise)
> =C2=A0- Removed unused or unneeded code.
> =C2=A0- Misc other
>
> While the IPv6-support is fairly complete (using getaddrinfo()), the
> nrpe-server needs two more features to be release-ready: Listening to
> both ipv4 and ipv6 at the same time, and ipv6-awareness in
> allowed_hosts. This is on my todo-list. I also expect I've broken the
> build on certain platforms, and I intend to test this to some degree.
>
Thorght id give it a go on Solaris, im no coder so have no idea how to
fix these errors...
This is on Solaris 10 Sparc
Had to install automake and tools first then:
if you would like versions pleas elet me know for which software etc.
adm01:nrpe# ./autogen.sh
+ aclocal
+ autoheader
+ automake --add-missing --copy --foreign
configure.ac:9: installing `./install-sh'
configure.ac:9: installing `./missing'
src/Makefile.am: installing `./depcomp'
+ autoconf
configure.ac:11: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:11: error: possibly undefined macro: AC_MSG_ERROR
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
adm01:nrpe# ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
./configure: line 2799: syntax error near unexpected token `libssl,'
./configure: line 2799: `PKG_CHECK_MODULES(libssl,
libssl,AC_DEFINE([HAVE_SSL],[1],[Define we have
SSL]),AC_MSG_ERROR([nrpe requires libssl.]))'
Ritchie,
--
Fnord...
> The work can be found at: https://github.com/KristianLyng/nrpe
>
> I do not want to maintain a fork, thus I'm interested to co-operate to
> get this "upstream". Since the code looked almost abandoned, I decided
> that it would be best to adapt a "fix first, ask later"-approach.
>
> I've so far dubbed it NRPE "3.0", and I'm using it both nrpe-server
> and check_nrpe on several servers.
>
> Any and all feedback is much welcomed.
>
> I'm also on IRC (KristianL on freenode).
>
> Regards,
> Kristian
>
> -------------------------------------------------------------------------=
-----
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]