cvs-test-results
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cvs-test-results] CVS 1-11-x-branch testing results (HP HP-UX)


From: Derek R. Price
Subject: Re: [Cvs-test-results] CVS 1-11-x-branch testing results (HP HP-UX)
Date: Thu, 27 Apr 2006 11:23:52 -0400
User-agent: Thunderbird 1.5 (X11/20060313)

I've really attached the patches this time.  Again, this may be solvable
by defining GSS_C_NT_HOSTBASE_SERVICE as there is already some code to
do in acinclude.m4.  Failing that, I'd prefer use-hp-gssapi.diff to
use-hp-libgss-add.diff, if it works.

Regards,

Derek


Derek R. Price wrote:
> Larry Jones wrote:
> 
>> cc  -g   -o cvs  add.o admin.o annotate.o buffer.o checkin.o checkout.o 
>> classify.o client.o commit.o create_adm.o cvsrc.o diff.o edit.o entries.o 
>> error.o expand_path.o fileattr.o filesubr.o find_names.o hardlink.o hash.o 
>> history.o ignore.o import.o lock.o log.o login.o logmsg.o main.o mkmodules.o 
>> modules.o myndbm.o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o 
>> release.o remove.o repos.o root.o run.o scramble.o server.o stack.o status.o 
>> subr.o tag.o update.o version.o vers_ts.o watch.o wrapper.o zlib.o 
>> ../diff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -lgssapi_krb5 -lkrb5 
>> -lk5crypto -lcrypto -lcom_err -lnsl -lsec 
>> /usr/ccs/bin/ld: Unsatisfied symbols:
>>    GSS_C_NT_HOSTBASED_SERVICE (first referenced in client.o) (data)
>> gmake[2]: *** [cvs] Error 1
>>
>> Looks like HP needs -lgss instead of -lgssapi_krb5.  According to the
> 
> Are you sure it needs it instead and not in addition to?  The configure
> script shouldn't have added -lgssapi_krb5 to the #include list unless it
> found one of the symbols it needed inside.  I've included two patches -
> the first for `instead of' and the second for `in addition to'.  I'd
> prefer the first if it works, but neither may be the right choice...
> 
> The GSS_C_NT_HOSTBASED_SERVICE jumps out at me, because we already have
> special handling in configure that greps system header files for
> alternate symbols and #defines GSS_C_NT_HOSTBASED_SERVICE when they are
> found.  Perhaps we are simply missing the correct header (or symbol) on
> HP-UX?  Search for GSS_C_NT_HOSTBASED_SERVICE in acinclude.m4 for more.
> 
> Regards,
> 
> Derek
> 


-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 248.835.1260
f: +1 248.835.1263
<address@hidden>
? use-hp-gssapi.diff
Index: acinclude.m4
===================================================================
RCS file: /cvsroot/cvs/ccvs/Attic/acinclude.m4,v
retrieving revision 1.6.4.4
diff -u -p -r1.6.4.4 acinclude.m4
--- acinclude.m4        26 Sep 2005 23:26:27 -0000      1.6.4.4
+++ acinclude.m4        27 Apr 2006 14:45:48 -0000
@@ -259,17 +259,22 @@ when using GSSAPI.])
   AC_SEARCH_LIBS([krb5_free_context], [krb5])
 
   #
+  # gss                        This may be the only lib needed under HP-UX, so 
find it
+  #                    first.
+  #
   # gssapi_krb5                Only lib needed with MIT K5 v1.2.1, so find it 
first in
   #                    order to prefer MIT Kerberos.  If both MIT & Heimdal
   #                    Kerberos are installed and in the path, this will leave
   #                    some of the libraries above in LIBS unnecessarily, but
   #                    noone would ever do that, right?
   #
+  # gss                        HP-UX                   ???
+  #
   # gssapi_krb5                MIT K5 v1.2.2-beta1     -lkrb5
   #
   # gssapi             Heimdal K 0.3d          -lkrb5
   #
-  AC_SEARCH_LIBS([gss_import_name], [gssapi_krb5 gssapi])
+  AC_SEARCH_LIBS([gss_import_name], [gss gssapi_krb5 gssapi])
 fi
 ])dnl
 
Index: acinclude.m4
===================================================================
RCS file: /cvsroot/cvs/ccvs/Attic/acinclude.m4,v
retrieving revision 1.6.4.4
diff -u -p -r1.6.4.4 acinclude.m4
--- acinclude.m4        26 Sep 2005 23:26:27 -0000      1.6.4.4
+++ acinclude.m4        27 Apr 2006 14:51:13 -0000
@@ -270,6 +270,11 @@ when using GSSAPI.])
   # gssapi             Heimdal K 0.3d          -lkrb5
   #
   AC_SEARCH_LIBS([gss_import_name], [gssapi_krb5 gssapi])
+
+  #
+  # gss                        HP-UX                   ???
+  #
+  AC_SEARCH_LIBS([GSS_C_NT_HOSTBASED_SERVICE], [gss])
 fi
 ])dnl
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]