From e84a3988e0ebf42e8f9329df5bdbb5112be17a24 Mon Sep 17 00:00:00 2001 From: Jon Mason Date: Thu, 11 Jun 2009 16:43:21 -0500 Subject: [PATCH] ofed_scripts: updated rnfs_utils has additional RPM requirements rnfs-utils with NFSv4 mount support has additional RPM requirements Signed-Off-By: Jon Mason --- install.pl | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/install.pl b/install.pl index 8fa73df..206aca5 100755 --- a/install.pl +++ b/install.pl @@ -2645,11 +2645,45 @@ sub check_linux_dependencies print RED "krb5-libs is required to build rnfs-utils.", RESET "\n"; $err++; } + if (not is_installed("libevent-devel")) { + print RED "libevent-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + if (not is_installed("nfs-utils-lib-devel")) { + print RED "nfs-utils-lib-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + if (not is_installed("openldap-devel")) { + print RED "openldap-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } } else { + if ($subdistro eq "SLES11") { + if (not is_installed("libevent-devel")) { + print RED "libevent-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + if (not is_installed("nfsidmap-devel")) { + print RED "nfsidmap-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + if (not is_installed("libopenssl-devel")) { + print RED "libopenssl-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + } if (not is_installed("krb5")) { print RED "krb5 is required to build rnfs-utils.", RESET "\n"; $err++; } + if (not is_installed("openldap2-devel")) { + print RED "openldap2-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } + if (not is_installed("cyrus-sasl-devel")) { + print RED "cyrus-sasl-devel is required to build rnfs-utils.", RESET "\n"; + $err++; + } } my $blkid_so = ($arch =~ m/x86_64/) ? "/usr/lib64/libblkid.so" : "/usr/lib/libblkid.so"; -- 2.41.0