Menu

#27 Compile error on Mac OS X 10.11.6

Version 5.*
open
nobody
None
5
2016-10-04
2016-08-21
No

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

Discussion

  • Michael Weber

    Michael Weber - 2016-09-14

    Nevermind. I found the patch for Apache 2.4 and it fixed it. Please close this ticket.

     
  • Developer

    Developer - 2016-09-28

    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

     
  • Michael Weber

    Michael Weber - 2016-09-28

    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.

     
  • Developer

    Developer - 2016-10-04

    Michael

    Thank you so much for you help.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.