Page 2 of 2

Re: Compiling nrpe on AIXv6.1

Posted: Mon Mar 25, 2013 5:36 pm
by akrishnan
I got reply from IBM. Per instructions I installed the krb5.toolkit.1.4.0.7.I. The toolkit had installed the following files:
Path: /usr/lib/objrepos
krb5.toolkit.adt 1.4.0.7
/usr/include/gssapi/gssapi_krb5.h
/usr/include/ibm_svc/krb5kdc.h
/usr/include/gssapi/gssapi_generic.h
/usr/include/k5profile.h
/usr/include/ibm_svc/krb5_svc.h
/usr/include/ibm_svc
/usr/include/ibm_svc/krb5adm.h
/usr/include/com_err.h
/usr/include/gssapi/gssapi.h
/usr/include/gssapi
/usr/include/krb5.h
/usr/include/kadm5
/usr/include/kadm5/admin.h
/usr/include/kdb_types.h
/usr/include/ibm_svc/krb5krb.h
/usr/include/ibm_svc/krb5vdb.h
/usr/include/ibm_svc/krb5utl.h
/usr/include/ibm_svc/krb5gss.h


So I executed the ./configure command. Still getting the following error:
checking for main in -lwrap... no
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for closesocket... no
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... SSL libraries found in /usr/lib

*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.....................................................+..........................
..+.........+...+.........................+.+...................................
............+...................................................++*++*++*++*++*+
+*
checking for Kerberos include files... could not find include files
checking for perl... /bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subst
config.status: creating src/Makefile
config.status: creating package/solaris/Makefile
config.status: creating init-script
config.status: creating init-script.debian
config.status: creating init-script.suse
config.status: creating nrpe.spec
config.status: creating sample-config/nrpe.cfg
config.status: creating sample-config/nrpe.xinetd
config.status: creating include/config.h
config.status: include/config.h is unchanged


Any suggestions as to which Kerberos include files are not found?

I would like to thank the support team for their patience and guidance.

Re: Compiling nrpe on AIXv6.1

Posted: Tue Mar 26, 2013 9:27 am
by abrist
Did you make sure the new (ibm supplied) files were in your path before compile?
Is kerberos support necessary in your environment? It should still compile without them.

Re: Compiling nrpe on AIXv6.1

Posted: Tue Mar 26, 2013 11:51 am
by akrishnan
I do have the /usr/include in the $PATH. Here is the output:
echo $PATH
/bin:/usr/bin:/usr/sbin:/etc:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:/tools/bin:/usr/lpp/X11/Lib:/usr/lpp/ssp/bin:/usr/vac/bin:/usr/local/etc:/usr/local/scripts:/usr/include

What are the include files, the nagios configure process is looking for? In my environment, krb5 is used. Thanks.

Re: Compiling nrpe on AIXv6.1

Posted: Tue Mar 26, 2013 12:39 pm
by abrist
krb5 is supported by nrpe and is the assumed implementation of kerberos in the nrpe's installer.