|
From: | Jonah Tsai |
Subject: | RE: CVS+GSSAPI (Kerb5) |
Date: | Thu, 20 Sep 2001 19:46:55 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 |
In trying to build CVS with GSSAPI (Kerberos 5) support I am running into a problem where the ./configure step cannot find the acx_gssapi_cv_gss_c_nt_hostbased_service. Does anyone know what I needto do to get past this? Here's a dump of my ./configure and the error I get when I try to make. I am using ./configure -cache-file=cvs.build -prefix=/usr -enable-client-enable-server - enable-encryption - with-gssapi -without-krb4
[snip]
checking for GSS_C_NT_HOSTBASED_SERVICE... ./configure: acx_gssapi_cv_gss_c_nt_hostbased_service: not found ./configure: acx_gssapi_cv_gss_c_nt_hostbased_service: not found no
[snip]
You forgot to mention which OS, and which implementation of KRB5 you are using.client.o: In function `connect_to_gserver': /home/root/projects/cvs/ccvs/src/client.c:4246: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
This means the "configure" script is not able to find the symbol GSS_C_NT_HOSTBASED_SERVICE. In MIT's KRB5, this is
#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name The configure script will guess it correctly for MIT's KRB5.If the KRB5 and the platform combination you have just can't be "guessed" correctly by the configure script, you can just go do an "nm libgssapi_krb5.a" | grep service_name" and see if you can find the symbol in your KRB5 library. If the symbol can be found, then, you put #define GSS_C_NT_HOSTBASED_SERVICE <the symbol found> at the end of the generated config.h.
This should allow you to compile it correctly without having to go through the patch process (I still have no idea how the patch process in the CVS project works), or mugging around the very complicated configure script.
Jonah Tsai
[Prev in Thread] | Current Thread | [Next in Thread] |