From 90480187a39e743f8e4eaf9d21c8af4dad77df6f Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Thu, 16 Sep 2010 10:56:46 +0200 Subject: [PATCH] gcc-32bit is required on SLES11 to build 32-bit libraries Signed-off-by: Vladimir Sokolovsky --- install.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.pl b/install.pl index ff2cc07..85935b5 100755 --- a/install.pl +++ b/install.pl @@ -2598,6 +2598,7 @@ sub check_linux_dependencies { my $err = 0; my $p1 = 0; + my $gcc_32bit_printed = 0; if (! $check_linux_deps) { return 0; } @@ -2664,6 +2665,15 @@ sub check_linux_dependencies $err++; } } + if ($subdistro eq "SLES11") { + if (not is_installed("gcc-32bit")) { + if (not $gcc_32bit_printed) { + print RED "gcc 32bit is required to build 32-bit libraries.", RESET "\n"; + $gcc_32bit_printed++; + $err++; + } + } + } if ($arch eq "ppc64") { my @libstdc32 = ; if ($package eq "mstflint") { -- 2.41.0