Skip to content

Can't compile with GSSAPI enabled on macOS #5230

@jonathanturcotte

Description

@jonathanturcotte

I am trying to compile libgit2 with GSSAPI enabled for macOS, but I can't seem to get it working. It looks like macOS provides a kerberos framework that was first available in macOS 10.0, which is what I'd expect libgit2 to use when trying to find GSSAPI on mac. However, FindGSSAPI.cmake doesn't appear to be looking for that framework, and the default UNIX case doesn't work on my mac.

Is there a way to get this working using the existing cmake build that I'm not aware of?

Reproduction steps

cmake -DUSE_GSSAPI=ON ..

Expected behavior

To find GSSAPI and enable SPNEGO authentication support.

Actual behavior

Doesn't find GSSAPI.

Version of libgit2 (release number or SHA1)

0.28.2

Operating system(s) tested

macOS 10.14.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions