Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] fatal error: krb5.h: No such file or directory

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 19 Apr 2018 09:43:21 -0700
On Apr 18, 2018, at 10:21 PM, jungle boogie <jungleboogie0@xxxxxxxxx> wrote:

> Thus said Guy Harris on Wed, 18 Apr 2018 22:14:10 -0700
> 
>> So what does
>> 	find /usr/include/mit-krb5 -name krb5.h -print
>> print?
> 
> We have this...
> 
> $ find /usr/include/mit-krb5 -name krb5.h -print
> /usr/include/mit-krb5/krb5/krb5.h
> /usr/include/mit-krb5/krb5.h

So we have krb5.h, in the location that pkg-config (fixed it this time! :-)) says it's in, but the compiler isn't finding it.

What happens if you run

	make VERBOSE=1

to try to build with CMake?  That should show the command line, to indicate whether "-isystem /usr/include/mit-krb5" is being passed to the compiler or not.