[Alpine-info] how to enable GSS support?

Paul Jakma paul at jakma.org
Mon Oct 22 15:55:42 PDT 2007


On Mon, 22 Oct 2007, Mark Crispin wrote:

> -I/usr/include should never be necessary.

I havn't gone digging yet, but it's /as if/ this is the case (I don't 
actually know whether or not /usr/include is mandated to be a default 
include path - I think it is though for my compiler, which I agree 
does make things odd).

> By default, the assumption is that the Kerberos includes are in 
> /usr/local/include.  The environment variable for that is GSSINCLUDE, which 
> is set as $(GSSDIR)/include, just as GSSLIB is $(GSSDIR)/lib by default.

Ok, cheers.

> Yes -- on the platforms that autoconf and automake handle.  The 
> ones that they do not handle reward you with obscure error messages 
> such as "No space".

Hehe. Debugging auto* can be a lot of 'fun' yes. Unimaginable amounts 
of weird rubbish to wade through.

> No, you should find out what you did wrong with your initial hack 
> to configure.ac.  The Alpine autoconf file already knows everything 
> to do to the IMAP stuff.

Nope, it doesn't. The configure.ac does not find either GSS or LDAP 
libs on Solaris NV (presumably 10 too). Guess what I intend to supply 
patches for ;).

My changes, including the previous make dist fixes, are attached. 
The useage of AC_SEARCH_LIBS in configure.ac in 0.9999 appears to be 
incorrect (at least according to my docs for autoconf 2.61, which I', 
using).

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
IRQ-problems with the Un-Interruptable-Power-Supply
-------------- next part --------------
Binary files alpine-0.9999/alpine-0.9999.tar.gz and alpine-0.9999-pj/alpine-0.9999.tar.gz differ
diff -urN --exclude=Makefile --exclude=configure --exclude=Makefile.in --exclude=aclocal.m4 --exclude='config.*' --exclude=stamp-po --exclude=.deps --exclude=autom4te.cache --exclude='*.orig' --exclude='*~' alpine-0.9999/configure.ac alpine-0.9999-pj/configure.ac
--- alpine-0.9999/configure.ac	2007-08-21 23:13:29.000000000 +0100
+++ alpine-0.9999-pj/configure.ac	2007-10-17 20:01:54.994315913 +0100
@@ -823,7 +823,7 @@
 dnl provide LDAP support?
 if test "$alpine_with_ldap" = "yes" ; then
   alpine_has_ldap=
-  AC_SEARCH_LIBS(ldap_init,ldap_init,
+  AC_SEARCH_LIBS(ldap_init,ldap,
     [
       alpine_has_ldap=yes
     ],
@@ -831,9 +831,8 @@
       AC_SEARCH_LIBS(ldap_open,ldap,
 	[
 	  alpine_has_ldap=yes
-	],, [-llber])
-    ],
-    [-llber])
+	])
+    ])
 
   if test "$alpine_has_ldap" = "yes" ; then
     AC_MSG_NOTICE([Including LDAP Support])
@@ -891,7 +890,7 @@
 if test "x$alpine_GSSTYPE" != "xnone" ; then
   case x$alpine_GSSLIB in
     x)
-      AC_SEARCH_LIBS(gss_init_sec_context,$alpine_GSSLIB,,
+      AC_SEARCH_LIBS(gss_init_sec_context,[gss gssapi],,
 	[
 	  alpine_GSSTYPE="none"
 	])
diff -urN --exclude=Makefile --exclude=configure --exclude=Makefile.in --exclude=aclocal.m4 --exclude='config.*' --exclude=stamp-po --exclude=.deps --exclude=autom4te.cache --exclude='*.orig' --exclude='*~' alpine-0.9999/po/POTFILES.in alpine-0.9999-pj/po/POTFILES.in
--- alpine-0.9999/po/POTFILES.in	2006-07-29 01:33:32.000000000 +0100
+++ alpine-0.9999-pj/po/POTFILES.in	2007-10-16 19:30:13.309803477 +0100
@@ -16,36 +16,36 @@
 pico/bind.c
 pico/file.c
 
-pine/osdep/print.c
-pine/mailview.c
-pine/takeaddr.c
-pine/ldapconf.c
-pine/adrbkcmd.c
-pine/folder.c
-pine/adrbkcmd.h
-pine/flagmaint.c
-pine/confscroll.c
-pine/mailindx.c
-pine/roleconf.c
-pine/listsel.c
-pine/mailpart.c
-pine/colorconf.c
-pine/imap.c
-pine/print.c
-pine/arg.c
-pine/keymenu.c
-pine/keymenu.h
-pine/send.c
-pine/mailcmd.c
-pine/radio.c
-pine/titlebar.c
-pine/reply.c
-pine/signal.c
-pine/help.c
-pine/remote.c
-pine/setup.c
-pine/kblock.c
-pine/status.c
-pine/addrbook.c
-pine/context.c
-pine/pine.c
+alpine/osdep/print.c
+alpine/mailview.c
+alpine/takeaddr.c
+alpine/ldapconf.c
+alpine/adrbkcmd.c
+alpine/folder.c
+alpine/adrbkcmd.h
+alpine/flagmaint.c
+alpine/confscroll.c
+alpine/mailindx.c
+alpine/roleconf.c
+alpine/listsel.c
+alpine/mailpart.c
+alpine/colorconf.c
+alpine/imap.c
+alpine/print.c
+alpine/arg.c
+alpine/keymenu.c
+alpine/keymenu.h
+alpine/send.c
+alpine/mailcmd.c
+alpine/radio.c
+alpine/titlebar.c
+alpine/reply.c
+alpine/signal.c
+alpine/help.c
+alpine/remote.c
+alpine/setup.c
+alpine/kblock.c
+alpine/status.c
+alpine/addrbook.c
+alpine/context.c
+alpine/alpine.c


More information about the Alpine-info mailing list