Hi Timur,

thank you for your reply.

Finally a reinstall of MIT-Kerberos did the trick ('portmaster krb5').


with best regards
Matthias Schündehütte

mailto:matthias.schuendehue...@siemens.com
Von: ti...@bat.ru [mailto:ti...@bat.ru] Im Auftrag von Timur I. Bakeyev
Gesendet: Dienstag, 24. Juni 2014 17:20
An: Schuendehuette, Matthias
Cc: freebsd-ports@freebsd.org
Betreff: Re: Port net/samba36-3.6.24 has problems

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.schuendehue...@siemens.com<mailto:matthias.schuendehue...@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<http://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

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to