Diff for /loncom/build/system_dependencies/perltest.pl between versions 1.3 and 1.5

version 1.3, 2001/10/05 03:00:36 version 1.5, 2002/05/04 21:59:42
Line 188  my %dependencies=qw( Line 188  my %dependencies=qw(
     Bundle/DBI.pm 1      Bundle/DBI.pm 1
     Crypt/DES.pm 1      Crypt/DES.pm 1
     Crypt/IDEA.pm 1      Crypt/IDEA.pm 1
     DBD/ADO.pm 1  
     DBD/ExampleP.pm 1      DBD/ExampleP.pm 1
     DBD/Multiplex.pm 1  
     DBD/NullP.pm 1      DBD/NullP.pm 1
     DBD/Proxy.pm 1      DBD/Proxy.pm 1
     DBD/Sponge.pm 1      DBD/Sponge.pm 1
Line 203  my %dependencies=qw( Line 201  my %dependencies=qw(
     DBI/Shell.pm 1      DBI/Shell.pm 1
     DBI/W32ODBC.pm 1      DBI/W32ODBC.pm 1
     Digest.pm 1      Digest.pm 1
     Digest/HMAC.pm 1  
     Digest/HMAC_MD5.pm 1  
     Digest/HMAC_SHA1.pm 1  
     Digest/MD2.pm 1  
     Digest/MD5.pm 1  
     Digest/SHA1.pm 1  
     HTML/Entities.pm 1      HTML/Entities.pm 1
     HTML/Filter.pm 1      HTML/Filter.pm 1
     HTML/HeadParser.pm 1      HTML/HeadParser.pm 1
Line 222  my %dependencies=qw( Line 214  my %dependencies=qw(
     Math/Cephes/Fraction.pm 1      Math/Cephes/Fraction.pm 1
     Mysql.pm 1      Mysql.pm 1
     Mysql/Statement.pm 1      Mysql/Statement.pm 1
     SHA.pm 1  
     Safe/Hole.pm 1      Safe/Hole.pm 1
     Win32/DBIODBC.pm 1      Win32/DBIODBC.pm 1
     Algorithm/Diff.pm 1      Algorithm/Diff.pm 1
Line 266  foreach my $dep (keys %dependencies) { Line 257  foreach my $dep (keys %dependencies) {
 unless ($errorflag) {  unless ($errorflag) {
     print "All perl modules needed by LON-CAPA appear to be present.\n";      print "All perl modules needed by LON-CAPA appear to be present.\n";
 }  }
   else {
       print "You are missing perl modules on your system.\n";
       if (-e '/etc/redhat-release') {
    $RHversion = (split /\s/, `cat /etc/redhat-release`)[4];
    if ($RHversion=~/^7\./) {
       print(<<END);
   Please visit: http://install.lon-capa.org/3.1/latestRPMS/
   Download an RPM looking like: LON-CAPA-systemperl-*.*-rh72.i386.rpm
   Upgrade: rpm -Uvh --force LON-CAPA-systemperl-*.*-rh72.i386.rpm
   (Note that you will need to replace the '*' asterisks with
   the most up to date version number present within the latestRPMS
   directory.)
   END
    }
           elsif ($RHversion=~/^6\./) {
       print(<<END);
   Please visit: http://install.lon-capa.org/3.1/latestRPMS/
   Download an RPM looking like: LON-CAPA-systemperl-*.*-1.i386.rpm
   Upgrade: rpm -Uvh --force LON-CAPA-systemperl-*.*-1.i386.rpm
   (Note that you will need to replace the '*' asterisks with
   the most up to date version number present within the latestRPMS
   directory.)
   END
           }
           else {
       print(<<END);
   You are running a version of RedHat that appears to be neither
   version 6.* or version 7.*.
   Please consult CVS:doc/otherfiles/perl_modules.txt for a detailed
   description of all the perl modules that should be on your system.
   You may also want to look at the contents of this script
   (CVS:loncom/build/system_dependencies/perltest.pl).
   You can retrieve needed perl modules from http://www.cpan.org/.
   END
           }
       }
       else {
    print(<<END);
   You appear to be running a non-RedHat system.  Please consult
   CVS:doc/otherfiles/perl_modules.txt for a detailed description of
   all the perl modules that should be on your system.  You
   may also want to look at the contents of this script
   (CVS:loncom/build/system_dependencies/perltest.pl).
   You can retrieve needed perl modules from http://www.cpan.org/.
   END
       }
   }
 exit $errorflag;  exit $errorflag;

Removed from v.1.3  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>