Port net/samba36-3.6.24 has problems
Timur I. Bakeyev
timur at FreeBSD.org
Tue Jun 24 15:20:06 UTC 2014
Hi!
Looks like you have one of the Kerberos ports installed, while still having
base system Kerberos. That greatly confuses Samba configure :(
You may try to set KRB5_HOME=/usr/local for MIT or HEIMDAL_HOME=/usr/local
for Heimdal in /etc/make.conf, but I have no idea, would it really help.
Other option is to remove port version of Kerberos.
Or you can try to go through configure.log and find out where does it pick
the wrong headers and libs.
With regards,
Timur.
On Tue, Jun 24, 2014 at 2:33 PM, Schuendehuette, Matthias <
matthias.schuendehuette at siemens.com> wrote:
> Hello,
>
> I tried to upgrade from samba36-3.6.23 to samba36-3.6.24 using
> 'portupgrade net/samba36' and got the following problem:
>
> *************************
> libsmb/clikrb5.c: In function 'get_krb5_smb_session_key':
> libsmb/clikrb5.c:942: warning: 'krb5_auth_con_getremotesubkey' is
> deprecated (declared at /usr/local/include/krb5/krb5.h:5906)
> libsmb/clikrb5.c:945: warning: 'krb5_auth_con_getlocalsubkey' is
> deprecated (declared at /usr/local/include/krb5/krb5.h:5901)
> libsmb/clikrb5.c:1691:2: error: #error
> UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
> The following command failed:
> cc -O2 -pipe -fno-strict-aliasing -DLDAP_DEPRECATED -I.
> -I/usr/ports/net/samba36/work/samba-3.6.24/source3
> -I/usr/ports/net/samba36/work/samba-3.6.24/source3/../lib/iniparser/src
> -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./..
> -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace
> -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED
> -I/usr/ports/net/samba36/work/samba-3.6.24/source3/lib -I..
> -D_SAMBA_BUILD_=3 -I/usr/local/include -D_SAMBA_BUILD_=3 -fPIC -DPIC -c
> libsmb/clikrb5.c -o libsmb/clikrb5.o
> gmake: *** [libsmb/clikrb5.o] Fehler 1
> gmake: *** Warte auf noch nicht beendete Prozesse...
> ===> Compilation failed unexpectedly.
> *************************
>
> This error occurs with Heimdal as well as with MIT Kerberos.
>
>
> Revision of the portstree is '359060'
>
> My system is: 'FreeBSD blnn719x.ww004.siemens.net 9.3-BETA3 FreeBSD
> 9.3-BETA3 #36 r267564: Tue Jun 17 13:14:47 CEST 2014'
>
> What should I do to avoid this?
>
>
>
> with best regards
>
> Matthias Schündehütte
>
>
More information about the freebsd-ports
mailing list