X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=rt%2Fsbin%2Frt-test-dependencies;h=1f9fa45b1c3e13c341ac88628a78353c114bcf49;hb=232eb0de0d2b4dfa1c93a180b787126c3377ba02;hp=c1591b189a7a5779f31f4b5602b420274f01e854;hpb=289340780927b5bac2c7604d7317c3063c6dd8cc;p=freeside.git diff --git a/rt/sbin/rt-test-dependencies b/rt/sbin/rt-test-dependencies index c1591b189..1f9fa45b1 100644 --- a/rt/sbin/rt-test-dependencies +++ b/rt/sbin/rt-test-dependencies @@ -99,7 +99,7 @@ Digest::MD5 2.27 DBI 1.37 Test::Inline Class::ReturnValue 0.40 -DBIx::SearchBuilder 0.97 +DBIx::SearchBuilder 1.01 Text::Template File::Spec 0.8 HTML::Entities @@ -191,16 +191,19 @@ DBD::Pg . print "perl:\n"; -print "\t5.8.0"; -eval {require 5.008}; +print "\t5.8.3"; +eval {require 5.008003}; if ($@) { -print "...missing.\n"; - eval {require 5.006001}; +print "...MISSING.\n"; + eval {require 5.008000}; if ($@) { - print " RT is known to be non-functional on versions of perl older than 5.6.1. Please upgrade to 5.8.0 or newer"; + print "\nRT is known to be non-functional on versions of perl older than 5.8.3.\nPlease upgrade to 5.8.3 or newer\n\n"; die; - } else { - print " RT is not supported on perl 5.6.1\n"; + } + + eval {require 5.008003}; + if ($@) { + print "\nRT is known to be non-functional on versions of perl older than 5.8.3.\nPlease upgrade to 5.8.3 or newer\n\n"; } } else { print "...found\n";