Samba4 does not compile on Ubuntu i686

Jelmer Vernooij jelmer at
Mon Oct 11 07:15:04 MDT 2010

Hi Olaf,

On Mon, 2010-10-11 at 11:41 +0200, Olaf Flebbe wrote:
> > [ 567/2175] Compiling auth/ntlm/auth_sam.c
> > [ 568/2175] Compiling auth/credentials/credentials.c
> > In file included from ../auth/credentials/credentials.c:27:
> > ../auth/credentials/credentials_krb5.h:26:27: error: gssapi/gssapi.h: No
> > such file or directory
> Do you have the package libkrb5-dev installed?
Samba 4 should build fine without libkrb5-dev, since we include and build against our own version of 
Heimdal. We ignore libkrb5-dev if it is installed.

> Double check with:
> apt-get install libkrb5-dev
> Consider the use of
> apt-get build-dep samba
This installs the build dependencies for Samba 3, not Samba 4 (the
source package for Samba 4 on Debian/Ubuntu is called "samba4"). It
installs the build dependencies of the Samba Debian package, not Samba
itself, which is a much longer list.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list