Apache, mod_ssl, and syntax errors in krb5.h
October 18th, 2005 by Kelson. Posted in Troubleshooting, Web and tagged for apache, compile, error, Linux, sslUpgraded 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.
We now return you to your regularly scheduled blog.
Related Posts
- Patch…Friday?
- WordPress Broken on PHP 5.2 Again
- A bit morbid, but still funny
- Resolving SELinux audit errors on boot in Fedora Core 4
- Netscape is dead. Long live Mozilla!

