For some time now, SCO users have been puzzled by the "bc: 1 not
implemented" error that a 'make test' evokes.

A kind soul ([EMAIL PROTECTED]) confirmed in July 2000 that using GNU's bc
fixed the problem (as, not so surprisingly, SCO's bc just doesn't cut it.)

What follows is a patch to gently inform users that they need to install GNU
bc if they wish to run 'make test'.  This patch only warns OpenServer 5
users, as it apparently works fine on UnixWare 2 and 7 (judging from the
lack of problem reports in the archives), and surely doubt that anyone
really wants to run OpenSSL on OpenServer 3.

*** util/selftest.pl.orig Mon Sep 11 08:43:09 2000
--- util/selftest.pl Fri Jan 19 01:30:25 2001
***************
*** 137,142 ****
goto err;
}
if (`echo 4+1 | bc` != 5)
{
print OUT "Can't run bc! Test skipped.\n";
--- 137,152 ----
goto err;
}
+ if ($platform =~ /sco5-/)
+ {
+ if (`bc --version | head -1` !~ 'bc')
+ {
+ print OUT "You must install GNU bc on SCO OpenServer 5. Test skipped.\n";
+ print OUT $not_our_fault;
+ goto err;
+ }
+ }
+
if (`echo 4+1 | bc` != 5)
{
print OUT "Can't run bc! Test skipped.\n";

--
Matt Emmerton

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to