Aleksey Senin wrote:
From c7e4ef0387e140e301267ce48886f2238c4e9747 Mon Sep 17 00:00:00 2001
From: Aleksey Senin <[EMAIL PROTECTED]>
Date: Thu, 25 Sep 2008 13:21:45 +0300
Subject: [PATCH] Additional dependencies checking on SLES10 SP2 PPC
Development packages specified bellow contain "-64bit" suffix
in their names and current 'install.pl' logic will not recognize
that PPC missing critical for compilation packages. So this patch
add checking if
glibc-devel-64bit
zlib-devel-64bit
libstdc++-devel-64bit
are installed before start whole compile process on SLES PPC platform
Signed-off-by: Aleksey Senin <[EMAIL PROTECTED]>
---
install.pl | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/install.pl b/install.pl
index 7b37574..2160710 100755
--- a/install.pl
+++ b/install.pl
@@ -423,7 +423,10 @@ my %packages_info = (
'libibverbs' =>
{ name => "libibverbs", parent => "libibverbs",
selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0,
- available => 1, mode => "user", dist_req_build => ["gcc_3.3.3",
"glibc-devel","$libstdc"],
+ available => 1, mode => "user", dist_req_build =>
+ ( $distro eq 'SuSE' && $arch eq "ppc64" )?( $build32 == 1 )?
+ ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"]:["gcc_3.3.3",
"glibc-devel-64bit","$libstdc"]:
+ ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"],
dist_req_inst => [], ofa_req_build => [], ofa_req_inst => ["ofed-scripts"],
install32 => 1, exception => 0, configure_options => '' },
Applied,
I changed the section above to:
> - available => 1, mode => "user", dist_req_build => ["gcc_3.3.3",
"glibc-devel","$libstdc"],
> + available => 1, mode => "user", dist_req_build =>
> + ( $distro eq 'SuSE' && $arch eq "ppc64" )?( $build32 == 1 )?
> + ["gcc_3.3.3", "glibc-devel-64bit","glibc-devel","$libstdc"]:["gcc_3.3.3",
"glibc-devel-64bit","$libstdc"]:
> + ["gcc_3.3.3", "glibc-devel","$libstdc"],
Regards,
Vladimir
_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg