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

version 1.4, 2001/11/28 18:26:50 version 1.5, 2002/05/04 21:59:42
Line 257  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.4  
changed lines
  Added in v.1.5


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