[Rt-commit] r6897 - in rt/branches/3.7-EXPERIMENTAL-RTIR-2.2: .

ruz at bestpractical.com ruz at bestpractical.com
Fri Feb 2 16:30:20 EST 2007


Author: ruz
Date: Fri Feb  2 16:30:19 2007
New Revision: 6897

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-test-dependencies.in

Log:
 r4500 at cubic-pc (orig r6874):  ruz | 2007-02-02 05:57:03 +0300
 * Regexp::Common is required by core(QB/TicketSQL)


Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-test-dependencies.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-test-dependencies.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/sbin/rt-test-dependencies.in	Fri Feb  2 16:30:19 2007
@@ -3,7 +3,7 @@
 # 
 # COPYRIGHT:
 #  
-# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+# This software is Copyright (c) 1996-2006 Best Practical Solutions, LLC 
 #                                          <jesse at bestpractical.com>
 # 
 # (Except where explicitly superseded by other copyright notices)
@@ -199,6 +199,7 @@
 Text::Quoted 1.3
 Tree::Simple 1.04
 UNIVERSAL::require
+Regexp::Common
 Scalar::Util
 Module::Versions::Report
 Cache::Simple::TimedExpiry
@@ -240,7 +241,6 @@
 .
 
 $deps{'DEV'} = [ text_to_hash( << '.') ];
-Regexp::Common
 Test::Inline 
 Apache::Test
 HTML::Form
@@ -392,21 +392,25 @@
 $@
 ------------------------
 
-Failed to load module CPAN. Module CPAN is distributed with Perl
-and helps install perl modules from http://www.cpan.org. RT uses
-this module to install dependencies, but module's failed to load
-with error above. You have several choices to install dependencies
-in this situatation:
-1) check that you've configured CPAN module, to do this run
-   `@PERL@ -MCPAN -e shell` program from shell, if it fails
-   then you have to update CPAN module (see next suggestion)
-   or use another way to install modules;
-2) try to update module CPAN, get distribution from
-   http://search.cpan.org/dist/CPAN and try again;
-3) use a different tool to install dependencies, see description of
-   the RT_FIX_DEPS_CMD environment variable in the output of
-   the `$0` program;
-4) install modules manually.
+When we tried to start installing RT's perl dependencies, 
+we were unable to load the CPAN client. This module is usually distributed
+with Perl. This usually indicates that your vendor has shipped an unconfigured
+or incorrectly configured CPAN client.
+The error above may (or may not) give you a hint about what went wrong
+
+You have several choices about how to install dependencies in 
+this situatation:
+
+1) use a different tool to install dependencies by running setting the following
+   shell environment variable and rerunning this tool:
+    RT_FIX_DEPS_CMD='@PERL@ -MCPAN -e"install %s"'
+2) Attempt to configure CPAN by running:
+   `@PERL@ -MCPAN -e shell` program from shell.
+   If this fails, you may have to manually upgrade CPAN (see below)
+3) Try to update the CPAN client. Download it from:
+   http://search.cpan.org/dist/CPAN and try again
+4) Install each dependency manually by downloading them one by one from
+   http://search.cpan.org
 
 END
         exit(1);


More information about the Rt-commit mailing list