NetReg: FYI: Solution to krb5.h no such file

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Patrick Jaques (pjaques@comcast.net)
Date: Fri Jul 18 2003 - 01:23:29 CDT


In the event anyone else encounters the below error when compiling Apache
2.0.47 with NetReg 2.0 on a Red Hat 9.0 system, below is a solution I found
reading through many articles on the internet. I hope this is helpful.

-- Patrick

Problem:
--------
When I configure and compile Apache 2.x on a Red Hat 9 system, I receive the
following error "krb5.h no such file or directory". Below is how I compiled
Apache 2.0.47:

./configure --prefix=/opt/apache2 --enable-ssl --with-mpm=prefork
--enable-rewrite --enable-so --enable-cgi
make
make install

Cause:
-----
Red Hat 9 decided to put the include file for kerberos in
/usr/kerberos/include instead of /usr/include.

Solution:
--------
1. Make sure you have the krb5-devel and krb5-libs rpms installed.
2. Create Symlink for the following files as follows:

    ln -s /usr/kerberos/include/com_err.h /usr/include/
    ln -s /usr/kerberos/include/profile.h /usr/include/
    ln -s /usr/kerberos/include/krb5.h /usr/include/

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:40 CDT