Bug 8543 - Build failure with krb5 not installed
Build failure with krb5 not installed
Product: Samba 4.0
Classification: Unclassified
Component: Other
All All
: P5 minor
: ---
Assigned To: Andrew Bartlett
Depends on:
  Show dependency treegraph
Reported: 2011-10-23 04:42 UTC by Brad Hards
Modified: 2011-11-29 20:58 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brad Hards 2011-10-23 04:42:19 UTC
This was originally reported by an openchange user, but I reproduced it locally on a new Kubuntu 11.10 VM.

[ 595/3746] Compiling lib/util/charset/charcnv.c
In file included from ../libcli/smb/smb_common.h:31:0,
                 from ../lib/util/charset/charcnv.c:25:
../libcli/smb/smb_seal.h:24:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/bradh/openchange.trunk/samba4/bin'
Build failed:  -> task failed (err #1): 
        {task: cc charcnv.c -> charcnv_2.o}                                                                                                                                                                
make: *** [all] Error 1
Error in samba4 make (error code 2)

It looks like something is going wrong with the configure checks. Installing the krb5-dev package is enough to get the build completed.
Comment 1 Matthias Dieter Wallnöfer 2011-11-29 20:55:54 UTC
Still an issue?
(I'm reassigning this to abartlet which maintains character conversion code)
Comment 2 Andrew Bartlett 2011-11-29 20:58:45 UTC
The gssapi references were removed from (headers included in) smb_common.h to resolve this.