]> git.openfabrics.org - ~aditr/ofed_scripts.git/commitdiff
install scripts: rnfs-utils SLES10sp2 build break fix
authorJon Mason <jon@opengridcomputing.com>
Mon, 13 Apr 2009 23:27:00 +0000 (18:27 -0500)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Thu, 16 Apr 2009 05:20:58 +0000 (08:20 +0300)
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@opengridcomputing.com>
install.pl

index 5bc0c2f17105a0d01341b5df8d1298854e3e7ed7..38c69d23ec80b257f815059158b9b9d2aba69c03 100755 (executable)
@@ -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++;
                 }