make install krb5 conflict with heimdal

Gary Gatten Ggatten at waddell.com
Thu Apr 9 12:00:45 PDT 2009


-----Original Message-----
From: Chuck Swiger [mailto:cswiger at mac.com] 
Sent: Thursday, April 09, 2009 1:53 PM
To: Gary Gatten
Cc: freebsd-questions at freebsd.org
Subject: Re: make install krb5 conflict with heimdal

On Apr 9, 2009, at 11:29 AM, Gary Gatten wrote:
> This actually makes a little sense - thanks for the pointers!
>
> G
>
> BTW: Is top posting bad?  I prefer top posts, but if the list doesn't
> like it I'll change.  I'll find the rules and read them!

Top posting is widely considered bad on the FreeBSD lists, yes.

Note that Kerberos is a complicated, many-headed beast and not just in  
the mythological sense.  You might have an easier time if you choose  
which flavor you want to use, and then maybe add WITH_KERBEROS=yes and/ 
or WITH_HEIMDAL=yes to /etc/make.conf, before firing off the tree of  
builds-- that will help the various ports and options screens figure  
out which one you wanted to use more consistently.

However, it looks like Samba is looking for HEIMDAL_HOME or KRB5_HOME  
to be defined instead of using the standard WITH_ flags; arguably, the  
port maintainer dwcjr@ should be checking the WITH_ flags instead.

Regards,
-- 
-Chuck


OK, no more top posting.

Got past the krb5 build and back to SAMBA with a new error in clikrb5.c.
Time to try a package again!

libsmb/clikrb5.c: In function `krb5_set_real_time':
libsmb/clikrb5.c:132: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c:133: error: dereferencing pointer to incomplete type
libsmb/clikrb5.c: In function `create_kerberos_key_from_string_direct':
libsmb/clikrb5.c:244: error: syntax error before "salt"
libsmb/clikrb5.c:246: error: `salt' undeclared (first use in this
function)
libsmb/clikrb5.c:246: error: (Each undeclared identifier is reported
only once
libsmb/clikrb5.c:246: error: for each function it appears in.)
libsmb/clikrb5.c: In function `smb_krb5_renew_ticket':
libsmb/clikrb5.c:1301: error: syntax error before "flags"
libsmb/clikrb5.c:1302: error: `krb5_realm' undeclared (first use in this
function)
libsmb/clikrb5.c:1302: error: `client_realm' undeclared (first use in
this function)
libsmb/clikrb5.c:1327: error: `flags' undeclared (first use in this
function)
The following command failed:
cc -I. -I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source
-I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/iniparser/src
-Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc
-I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H
-I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace
-I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt
-I/usr/local/include -DLDAP_DEPRECATED -O2 -fno-strict-aliasing -pipe
-DLDAP_DEPRECATED -O -D_SAMBA_BUILD_=3 -I/usr/local/include
-I/usr/ports/net/samba33/samba33/work/samba-3.3.3/source/lib
-D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
gmake: *** [libsmb/clikrb5.o] Error 1
*** Error code 2

Stop in /usr/ports/net/samba33/samba33.
*** Error code 1

Stop in /usr/ports/net/samba33/samba33.
*** Error code 1

Stop in /usr/ports/net/samba33/samba33.
wanmon1#





<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>



More information about the freebsd-questions mailing list