1.7.7 + Redhat 9 - krb5.h not found

Submitted by javelin on Mon, 2012-02-13 19:50

When compiling PennMUSH 1.7.7 with RH9, you may get errors that begin with:

In file included from /usr/include/openssl/ssl.h:179,
                 from ../hdrs/mushtype.h:10,
                 from ../hdrs/conf.h:13,
                 from access.c:74:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

In RH9, RedHat built OpenSSL to use Kerberos, and put the Kerberos include
files in /usr/kerberos/include.

To fix this problem, you need to add -I/usr/kerberos/include to the CCFLAGS in the top-level Makefile. You can do it every time the Makefile is generated by Configure, you can tell Configure about it every time you run Configure, or you can try creating the file 'config.over' in the pennmush/ directory, containing the following line:

ccflags='-I/usr/kerberos/include'

2003-Aug-18 9:53am dunemush