Apache, mod_ssl, and syntax errors in krb5.h
NOTE: This article is out of date and likely obsolete.
Upgraded the Apache web server today. Iβd forgotten about a problem compiling mod_ssl on some systems. Fortunately I had left myself a note about it.
If you get syntax errors in krb5.h while trying to build Apache with mod_ssl, itβs probably because your Linux distribution puts the Kerberos include files in their own subdirectory (Red Hat/Fedora and derivatives do this), and the configure script has somehow missed them.
Solution: Configure mod_ssl and Apache as normal. Then edit the file path_to_apache_source/src/modules/ssl/Makefile
. Look for the CFLAGS1
line and add -I/usr/kerberos/include
to it.
Then continue with the build as normal.