[ewg] OFED installation on RH5 UP2

Vladimir Sokolovsky vlad at mellanox.co.il
Sun Aug 31 02:11:10 PDT 2008


Olga Shern wrote:
> Hi Vlad,
> 
> I test this with OFED 1.4 build and it works.
> I saw that you forgot to add test whether rpm-build package is
> installed.
> Can you please add it.
> 
> --- install.pl.orig	2008-08-17 18:58:27.000000000 +0300
> +++ install.pl	2008-08-18 16:34:35.000000000 +0300
> @@ -2431,6 +2431,14 @@ sub check_linux_dependencies
>      if (! $check_linux_deps) {
>          return 0;
>      }
> +
> +    if ($distro eq "redhat" or $distro eq "fedora" or $distro eq
> 'redhat5')
> +    {
> +    	if (not is_installed("rpm-build")) {
> +		print RED "rpm-build is required to build OFED", RESET
> "\n";
> +		$err++;
> +    	}
> +    }
>      for my $package ( @selected_packages ) {
>          # Check rpmbuild requirements
>          if ($package =~ /kernel-ib|ib-bonding/) {
> 
> 
> Thanks
> Olga
> 

Applied,

Thanks,
Vladimir



More information about the ewg mailing list