Sci-fi, comics, humor, photos…it's all fair game.

Apache, mod_ssl, and syntax errors in krb5.h

October 18th, 2005 by Kelson. Posted in Troubleshooting, Web and tagged for , , , ,

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.

We now return you to your regularly scheduled blog.

Related Posts

Also Related

RSS feed for comments on this post.

Post a Comment

Note: This post is over 4 years old. You may want to check later in this blog to see if there is new information relevant to your comment.