Date: Tue, 24 Jun 2014 17:19:36 +0200 From: "Timur I. Bakeyev" <timur@FreeBSD.org> To: "Schuendehuette, Matthias" <matthias.schuendehuette@siemens.com> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: Port net/samba36-3.6.24 has problems Message-ID: <CALdFvJGZmrH15fO-Z39wSexrofFLrtaFS7QKMZJ9qWSoR9An1w@mail.gmail.com> In-Reply-To: <1EFE239F82F279488E86A61C92D5E2DE091A351B@DENBGAT9EI2MSX.ww902.siemens.net> References: <1EFE239F82F279488E86A61C92D5E2DE091A351B@DENBGAT9EI2MSX.ww902.siemens.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3D/usr/local for MIT or HEIMDAL_HOME=3D/usr/lo= cal 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@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_=3D3 -I/usr/local/include -D_SAMBA_BUILD_=3D3 -fPIC -DPIC = -c > libsmb/clikrb5.c -o libsmb/clikrb5.o > gmake: *** [libsmb/clikrb5.o] Fehler 1 > gmake: *** Warte auf noch nicht beendete Prozesse... > =3D=3D=3D> 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=C3=BCndeh=C3=BCtte > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALdFvJGZmrH15fO-Z39wSexrofFLrtaFS7QKMZJ9qWSoR9An1w>