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

version 1.1, 2001/09/30 20:57:58 version 1.5, 2002/05/04 21:59:42
Line 121  my %dependencies=qw( Line 121  my %dependencies=qw(
     Net/Cmd.pm 1      Net/Cmd.pm 1
     Net/Config.pm 1      Net/Config.pm 1
     Net/Domain.pm 1      Net/Domain.pm 1
     Net/DummyInetd.pm 1  
     Net/FTP.pm 1      Net/FTP.pm 1
     Net/FTP/A.pm 1      Net/FTP/A.pm 1
     Net/FTP/E.pm 1      Net/FTP/E.pm 1
Line 189  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 204  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 223  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 264  foreach my $dep (keys %dependencies) { Line 254  foreach my $dep (keys %dependencies) {
     }      }
 }  }
   
   unless ($errorflag) {
       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.1  
changed lines
  Added in v.1.5


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