Date: Sat, 24 Mar 2007 11:24:36 -0700 From: Vizion <vizion@vizion.occoxmail.com> To: <ports@freebsd.org> Cc: youshi10@u.washington.edu, john.marshall@riverwillow.com.au Subject: Re: samba3 compile failure --SOLVED!! Message-ID: <20070324182437.EBEM2045.dukecmmtao03.coxmail.com@dukecmmtao03>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-ports@freebsd.org > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Vizion > Sent: Saturday, March 24, 2007 9:52 AM > To: ports@freebsd.org > Cc: youshi10@u.washington.edu; john.marshall@riverwillow.com.au > Subject: Re: samba3 compile failure > > > > > -----Original Message----- > > From: owner-freebsd-ports@freebsd.org > > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Vizion > > Sent: Saturday, March 24, 2007 9:23 AM > > To: john.marshall@riverwillow.com.au > > Cc: ports@freebsd.org; youshi10@u.washington.edu > > Subject: Re: samba3 compile failure > > > > Vizion wrote: > > > > > > > > >> -----Original Message----- > > >> From: owner-freebsd-ports@freebsd.org > > >> [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Vizion > > >> Sent: Friday, March 23, 2007 3:37 AM > > >> To: ports@freebsd.org > > >> Subject: samba3 compile failure > > >> > > >> Trying to compile samba... > > >> Is up with my kerberos? > > >> If so I do not know how to fix it :-( > > >> If not what?? > > >> Thanks in advance > > >> david > > >> > > ------< snip >------ > > >> `krb5_principal_get_realm' > > >> /usr/lib/libgssapi.so: undefined reference to > > `krb5_set_error_string' > > >> /usr/lib/libgssapi.so: undefined reference to > `krb5_make_principal' > > >> /usr/lib/libgssapi.so: undefined reference to > `krb5_store_keyblock' > > >> *** Error code 1 > > >> > > >> Stop in /usr/ports/net/samba3/work/samba-3.0.24/source. > > >> *** Error code 1 > > >> > > >> Stop in /usr/ports/net/samba3. > > >> [root@dns1 /usr/ports/net/samba3]# > > >> > > > Just though I should mention that this freebsd 6.1 system > > has krb5-1.6 installed. Is this the version of kerberos that > > is installed by default with 6_1? > > > > > > David > > > > If you have installed the MIT Kerberos Port, you need to tell > > the Samba > > build where to find it... > > --- > > > > Thank you guys for giving so generously of your time and > > being so helpful. > > > > I have sent a compressed version of config.log to John and > > Garrett direct as I did not want to load everyone with the > > file. Hope that is OK. > > As recomended I tried: > > > > # cd /usr/ports/net/samba3 > > # make KRB5_HOME=/usr/local install clean > > > > But still got the same errors. > > > > It seems highly likely that my dependencies for kerberos are > > screwed up. Is there a sure fire way of checking up on them? > > My guess is that at some time I responded innapropriately to > > the pkgdb -F dialogue and screwed up the existing installation. > > > > pkg_info reports krb5-1.6 as installed. > > > > If practical O wonder if it might be best to: > > a. identify what version of kerberos are installed. > > b. deinstall them all. > > c. decide on a version to install. > > d. (i) build it and > > (ii) rebuild all dependencies to ensure they are all using > > the same version and > > (iii) make sure that all configuration files are correct. > > > > Is anyone willing to tell me whether the above is a sound > > plan AND, if it is tell me how to go about it. If not can > > anyone identify a sounf plan. I do need to get samba working > > and I have a host of applications on this system that do use > > kerberos in one form or another!! > > > > Channces are if I carry on as I am something is sure to break > > pretty damn soon. > > > > Thanks > > > > David > > > I have been challenging myself by studying > http://www.lpthe.jussieu.fr/~talon/freebsdports.html > which is not easy going for me<chuckles>. > > In consequence I checked the contents of /var/db/pkg/krb5-1.6 > and found that +REQUIRED_BY has no entries. > > I hope this info may be useful. > > David > > Well after thinking about blank +REQUIRED I thought a little more #cd /usr/ports/security/krb5 #make deinstall #make clean then # cd /usr/ports/net/samba3 # make clean # make config # make # make install And HEY PRESTO I have samba3 working.. All of which goes to show that its what you can get rid of that really matters!! Thanks again you guys you have been great David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070324182437.EBEM2045.dukecmmtao03.coxmail.com>