[ewg] [PATCH OFED-1.5] ofed_scripts: updated rnfs_utils has additional RPM requirements
Jon Mason
jon at opengridcomputing.com
Thu Jun 11 14:43:21 PDT 2009
rnfs-utils with NFSv4 mount support has additional RPM requirements
Signed-Off-By: Jon Mason <jon at opengridcomputing.com>
diff --git a/install.pl b/install.pl
index 92f1533..99dbac1 100755
--- a/install.pl
+++ b/install.pl
@@ -2616,11 +2616,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";
More information about the ewg
mailing list