<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The problem here is probably in the CPAN module you have installed. Update perl and its modules via AS4's rpm update (yum ?). If that doesn't help download and install the CPAN module from src.</DIV><BR><DIV><DIV>On Nov 2, 2006, at 11:28 PM, Sujith Emmanuel wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">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><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Community help: <A href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Commercial support: <A href="mailto:sales@bestpractical.com">sales@bestpractical.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Buy a copy at <A href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>