X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fsbin%2Frt-test-dependencies.in;h=b4cb8c0441b1aa381f3688436d455591d6b110c6;hb=2041a9143fac20b79ead4a1ae01224dedf5b27c2;hp=7a150801014a447759373dec22d75762dc1b29a4;hpb=289340780927b5bac2c7604d7317c3063c6dd8cc;p=freeside.git diff --git a/rt/sbin/rt-test-dependencies.in b/rt/sbin/rt-test-dependencies.in index 7a1508010..b4cb8c044 100644 --- a/rt/sbin/rt-test-dependencies.in +++ b/rt/sbin/rt-test-dependencies.in @@ -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";