[Nagiosplug-help] v1.3 build errors on redhat 9
Ajay Sharma
ssharma at amntv.com
Mon May 19 18:34:03 CEST 2003
I just spent a while reading all the Nagios docs and I sat down to
install it but I'm running into some problems.
As my subject says, I'm building nagios-plugins-1.3 on Redhat 9 with all
the errata packages applied. Nagios compiled and installed fine (v 1.0)
and here's my configure line for nagios-plugins:
./configure --prefix=/opt/nagios
pretty basic, the defaults were fine for everything else. Here's the
compilation error:
[snip...]
gcc -g -O2 -L. -L/usr/lib -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o -lutil
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/include/ldap -I/include -I/usr/include -g -O2 -c
check_dummy.c
gcc -g -O2 -L. -L/usr/lib -o check_dummy check_dummy.o utils.o
../lib/libnagiosplug.a -lutil
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/include/ldap -I/include -I/usr/include -g -O2 -c check_http.c
In file included from /usr/include/openssl/ssl.h:179,
from check_http.c:146:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from check_http.c:146:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from check_http.c:146:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[1]: *** [check_http.o] Error 1
make[1]: Leaving directory `/opt/src/nagios-plugins-1.3.0/plugins'
make: *** [all-recursive] Error 1
and some other info:
# rpm -qf /usr/include/openssl/kssl.h
openssl-devel-0.9.7a-5
and also, there's an error that looks like it can't find my krb5.h file
but the RPMs for that's installed as well:
# locate krb5.h
/usr/kerberos/include/gssapi/gssapi_krb5.h
/usr/kerberos/include/krb5.h
Any help would be greatly appreciated!
Thanks,
Ajay
More information about the Help
mailing list