From: Jon Mason Date: Mon, 13 Apr 2009 23:27:00 +0000 (-0500) Subject: install scripts: rnfs-utils SLES10sp2 build break fix X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4f8c3800d4f3ad6314dc00cb116498f652ddbf09;p=~aditr%2Fofed_scripts.git install scripts: rnfs-utils SLES10sp2 build break fix 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 --- 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++; }