Linux-NFS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH nfs-utils] gssd: Look in lib32 for gss libs aswell.
@ 2019-08-11 22:10 Matt Turner
  2019-08-12 17:36 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Turner @ 2019-08-11 22:10 UTC (permalink / raw)
  To: linux-nfs; +Cc: Matt Turner

Akin to commit da999b81b058 ("Look in lib64 for gss libs aswell.")

mips/n32 systems have libraries in lib32 (but not lib or lib64). Without
checking lib32, configure fails with

checking for Kerberos v5... configure: error: Kerberos v5 with GSS
         support not found: consider --disable-gss or --with-krb5=

Signed-off-by: Matt Turner <mattst88@gmail.com>
---
 aclocal/kerberos5.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
index 8a0f3e4c..faa58049 100644
--- a/aclocal/kerberos5.m4
+++ b/aclocal/kerberos5.m4
@@ -38,9 +38,11 @@ AC_DEFUN([AC_KERBEROS_V5],[
       AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
       if test -f $dir/include/gssapi/gssapi_krb5.h -a \
                 \( -f $dir/lib/libgssapi_krb5.a -o \
+                   -f $dir/lib/libgssapi_krb5.so -o \
+                   -f $dir/lib32/libgssapi_krb5.a -o \
+                   -f $dir/lib32/libgssapi_krb5.so -o \
                    -f $dir/lib64/libgssapi_krb5.a -o \
-                   -f $dir/lib64/libgssapi_krb5.so -o \
-                   -f $dir/lib/libgssapi_krb5.so \) ; then
+                   -f $dir/lib64/libgssapi_krb5.so \) ; then
          AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
          KRBDIR="$dir"
          gssapi_lib=gssapi_krb5
-- 
2.21.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH nfs-utils] gssd: Look in lib32 for gss libs aswell.
  2019-08-11 22:10 [PATCH nfs-utils] gssd: Look in lib32 for gss libs aswell Matt Turner
@ 2019-08-12 17:36 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2019-08-12 17:36 UTC (permalink / raw)
  To: Matt Turner, linux-nfs



On 8/11/19 6:10 PM, Matt Turner wrote:
> Akin to commit da999b81b058 ("Look in lib64 for gss libs aswell.")
> 
> mips/n32 systems have libraries in lib32 (but not lib or lib64). Without
> checking lib32, configure fails with
> 
> checking for Kerberos v5... configure: error: Kerberos v5 with GSS
>          support not found: consider --disable-gss or --with-krb5=
> 
> Signed-off-by: Matt Turner <mattst88@gmail.com>
Committed!

steved.

> ---
>  aclocal/kerberos5.m4 | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
> index 8a0f3e4c..faa58049 100644
> --- a/aclocal/kerberos5.m4
> +++ b/aclocal/kerberos5.m4
> @@ -38,9 +38,11 @@ AC_DEFUN([AC_KERBEROS_V5],[
>        AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
>        if test -f $dir/include/gssapi/gssapi_krb5.h -a \
>                  \( -f $dir/lib/libgssapi_krb5.a -o \
> +                   -f $dir/lib/libgssapi_krb5.so -o \
> +                   -f $dir/lib32/libgssapi_krb5.a -o \
> +                   -f $dir/lib32/libgssapi_krb5.so -o \
>                     -f $dir/lib64/libgssapi_krb5.a -o \
> -                   -f $dir/lib64/libgssapi_krb5.so -o \
> -                   -f $dir/lib/libgssapi_krb5.so \) ; then
> +                   -f $dir/lib64/libgssapi_krb5.so \) ; then
>           AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
>           KRBDIR="$dir"
>           gssapi_lib=gssapi_krb5
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-11 22:10 [PATCH nfs-utils] gssd: Look in lib32 for gss libs aswell Matt Turner
2019-08-12 17:36 ` Steve Dickson

Linux-NFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nfs/0 linux-nfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nfs linux-nfs/ https://lore.kernel.org/linux-nfs \
		linux-nfs@vger.kernel.org linux-nfs@archiver.kernel.org
	public-inbox-index linux-nfs


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-nfs


AGPL code for this site: git clone https://public-inbox.org/ public-inbox