Compile error on Mac OS X 10.11.6
Brought to you by:
kouril
Trying to compile under Mac OS X Server 10.11.6, make produces an error:
src/mod_auth_kerb.c:363:4: error: member reference base type 'char' is not a structure or union
ap_log_rerror(file, line, level | APLOG_NOERRNO, status, r, "%s", errstr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My guess is that ap_log_rerror doesn't exist in Apache 2.4 on Mac OS X Server.
Any thoughts on how I can modify/rectify this issue?
Best,
Mike
Nevermind. I found the patch for Apache 2.4 and it fixed it. Please close this ticket.
Hello Michael.
Could you post information about the patch for Apache 2.4 that you found and it fixed your compile error on Mac OS?
Thank you in advanced
Certainly.
On the sourceforge page for the Kerberos Module for Apache, click Support, click Patches, and look for "support for Apache 2.4."
It was either that, or this mailing list post:
https://sourceforge.net/p/modauthkerb/mailman/message/30926358/
Either way, you'll get to where you need to be to get it to compile.
Enjoy.
Michael
Thank you so much for you help.