[Samba] samba-3.0.22 with Heimdal Kerberos - compilation problem

Doug VanLeuven roamdad at sonic.net
Sun Jun 25 00:34:38 GMT 2006


Nir Barkan wrote:
> Hi All,
> 
>  
> 
> I'm trying to compile samba-3.0.22 with Heimdal Kerberos on Solaris 8
> 
> configure works  fine but make fails
> 
> I am running configure with the option --with-krb5=/opt/local which is
> where I have heimdal installed.  The problem is that after running make,
> it still tries to use the include files from SUN that are in /usr/ and this
> screws up the compile.
>  
> /opt/local/include/gssapi.h:623: conflicting types for `gss_inquire_context'
> /usr/include/gssapi/gssapi.h:551: previous declaration of
> `gss_inquire_context'
<snip>

declaration of `gss_unseal'
> make: *** [dynconfig.o] Error 1
>  
> Any Ideas how to solve this?
>  

When I configure & compile from non -standard libs,
I explicitly set the paths required.
Some people like to put it on the command line, but
I created a shell script to invoke configure with my
required options and compiler flags.  These are commented on
at the end of output from "./configure --help"

#!/bin/sh

export LIBS="-L/usr/local/ldap/lib -L/usr/local/lib"

export CFLAGS="-O2 -L/usr/local/ldap/include -I/usr/local/include"

export CPPFLAGS="-I/usr/local/ldap/include"

./configure \
	(flag1=opt) \
	(flag2=opt)

Regards, Doug


More information about the samba mailing list