[ewg] [PATCH ofed-1.4.1] install scripts: rnfs-utils SLES10sp2 build break fix
Jon Mason
jon at opengridcomputing.com
Mon Apr 13 16:27:00 PDT 2009
Building rnfs-utils on SLES10sp2 breaks due to tcpd-devel issues with
32/64bit libraries. tcpd-devel is only needed for TCP Wrapper
enablement in rnfs-utils. This is unnecessary, as TCP Wrappers are only
needed on the server, and rnfs-utils is only need on the client.
With rnfs-utils-1.1.5-2.OFED, tcp-wrappers are disabled and the
build-req is no longer necessary.
Also, e2fsprogs-devel is needed by ppc in addition to ppc64.
This patch fixes bugs 1592 and 1594.
Signed-Off-By: Jon Mason <jon at opengridcomputing.com>
---
diff --git a/install.pl b/install.pl
index 5bc0c2f..38c69d2 100755
--- a/install.pl
+++ b/install.pl
@@ -2651,12 +2651,8 @@ sub check_linux_dependencies
print RED "krb5 is required to build rnfs-utils.", RESET "\n";
$err++;
}
- if ($arch eq "ppc64" and not is_installed("tcpd-devel")) {
- print RED "tcpd-devel is required to build rnfs-utils.", RESET "\n";
- $err++;
- }
}
- if ($arch eq "ppc64" and not -e "/usr/lib/libblkid.so") {
+ if ($arch =~ m/powerpc|ppc64/ and not -e "/usr/lib/libblkid.so") {
print RED "e2fsprogs-devel 32bit is required to build rnfs-utils.", RESET "\n";
$err++;
}
More information about the ewg
mailing list