rnfs-utils will not build on ppc64 without a 32bit version of
e2fsprogs-devel. The 32bit version is needed due to logic previously
added to install.pl to force the compile to be 32bit. Another way to
fix this issue would be to allow 64bit version of the rnfs-utils by
removing the logic which forces it to be 32bit.
With the added dependency, rnfs-utils compiles on RHEL5.2 on ppc64
without issue.
Signed-Off-By: Jon Mason <jon@opengridcomputing.com>
my $sysfsutils;
my $sysfsutils_devel;
+my $e2fsprogs_devel;
if ($distro eq "SuSE" or $distro eq "redhat" or $distro eq "fedora" or $distro eq "Rocks") {
$sysfsutils = "sysfsutils";
$sysfsutils_devel = "sysfsutils-devel";
+ $e2fsprogs_devel = "e2fsprogs-devel";
}
else {
$sysfsutils = "libsysfs";
$sysfsutils_devel = "libsysfs-devel";
+ $e2fsprogs_devel = "libe2fsprogs-devel";
}
my $network_dir;
}
}
}
+ if ($arch eq "ppc64" and $package eq "rnfs-utils") {
+ if (not -e "/usr/lib/libblkid.so") {
+ print RED "$e2fsprogs_devel 32bit is required to build rnfs-utils.", RESET "\n";
+ $err++;
+ }
+ }
}
# Check installation requirements