diff options
Diffstat (limited to 'rt/sbin/rt-test-dependencies.in')
-rw-r--r-- | rt/sbin/rt-test-dependencies.in | 19 |
1 files changed, 11 insertions, 8 deletions
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"; |