I have a strange CPAN problem during RT dependencies installation.<br><br>when i run the following command, am throwed out with the errors attached.<br><br>[root@gridsupport rt-3.6.0]# perl sbin/rt-test-dependencies --with-mysql --with-fastcgi --install
<br>perl:<br>        >=5.8.3(5.008005)...found<br>users:<br>        rt group (rt)...found<br>        bin owner (root)...found<br>        libs owner (root)...found<br>        libs group (bin)...found<br>        web owner (apache)...found
<br>        web group (apache)...found<br>MASON dependencies:<br>        Params::Validate 0.02...MISSING<br>        Cache::Cache ...MISSING<br>        Exception::Class 1.14...MISSING<br>        HTML::Mason 1.23...MISSING<br>
        MLDBM ...MISSING<br>        FreezeThaw ...MISSING<br>        Apache::Session 1.53...MISSING<br>        XML::RSS 1.05...MISSING<br>        HTTP::Server::Simple 0.07...MISSING<br>        HTTP::Server::Simple::Mason 
0.09...MISSING<br>        GD ...MISSING<br>        GD::Graph ...MISSING<br>        GD::Text ...MISSING<br>        Text::WikiFormat 0.76...MISSING<br><br>Install module Params::Validate<br>CPAN: File::HomeDir loaded ok<br>
Going to read /root/.cpan/Metadata<br>  Database was generated on Wed, 01 Nov 2006 15:24:03 GMT<br>Running install for module Params::Validate<br>Running make for D/DR/DROLSKY/Params-Validate-0.86.tar.gz<br>CPAN: LWP::UserAgent loaded ok
<br>Failed to load module CPAN.<br><br>-------- Error ---------<br>Can't call method "can" without a package or object reference at /usr/lib/perl5/5.8.5/CPAN.pm line 2904.<br><br>------------------------<br><br>
Failed to load module CPAN. Module CPAN is distributed with Perl<br>and helps install perl modules from <a href="http://www.cpan.org">http://www.cpan.org</a>. RT uses<br>this module to install dependencies, but module's failed to load
<br>with error above. You have several choices to install dependencies<br>in this situatation:<br>1) check that you've configured CPAN module, to do this run<br>   `/usr/bin/perl -MCPAN -e shell` program from shell, if it fails
<br>   then you have to update CPAN module (see next suggestion)<br>   or use another way to install modules;<br>2) try to update module CPAN, get distribution from<br>   <a href="http://search.cpan.org/dist/CPAN">http://search.cpan.org/dist/CPAN
</a> and try again;<br>3) use a different tool to install dependencies, see description of<br>   the RT_FIX_DEPS_CMD environment variable in the output of<br>   the `sbin/rt-test-dependencies` program;<br>4) install modules manually.
<br><br><br>Now after that when i try to install directly through CPAN, i get another set of errors:<br><br>[root@gridsupport ~]# perl -MCPAN -e shell<br>CPAN: File::HomeDir loaded ok<br><br>cpan shell -- CPAN exploration and modules installation (
v1.8802)<br>ReadLine support enabled<br><br> cpan[1]> install MIME::Base64<br>CPAN: Storable loaded ok<br>Going to read /root/.cpan/Metadata<br>  Database was generated on Wed, 01 Nov 2006 15:24:03 GMT<br>Running install for module MIME::Base64
<br>Running make for G/GA/GAAS/MIME-Base64-3.07.tar.gz<br>CPAN: LWP::UserAgent loaded ok<br>Can't call method "can" without a package or object reference at /usr/lib/perl5/5.8.5/CPAN.pm line 2904.<br><br> cpan[2]>
<br><br><br>The system is AS4 and RT version trying to install is 3.6.0.<br>Has anyone seen these kind of errors? If so please help me sort it out.<br><br>Thanks for any and all help.<br><br>Regards<br>Sujith Emmanuel<br>