[rt-users] OT: CPAN problem during RT installation

Sujith Emmanuel sujithem at cdacb.ernet.in
Thu Nov 2 23:28:41 EST 2006


I have a strange CPAN problem during RT dependencies installation.

when i run the following command, am throwed out with the errors attached.

[root at gridsupport rt-3.6.0]# perl sbin/rt-test-dependencies --with-mysql
--with-fastcgi --install
perl:
        >=5.8.3(5.008005)...found
users:
        rt group (rt)...found
        bin owner (root)...found
        libs owner (root)...found
        libs group (bin)...found
        web owner (apache)...found
        web group (apache)...found
MASON dependencies:
        Params::Validate 0.02...MISSING
        Cache::Cache ...MISSING
        Exception::Class 1.14...MISSING
        HTML::Mason 1.23...MISSING
        MLDBM ...MISSING
        FreezeThaw ...MISSING
        Apache::Session 1.53...MISSING
        XML::RSS 1.05...MISSING
        HTTP::Server::Simple 0.07...MISSING
        HTTP::Server::Simple::Mason 0.09...MISSING
        GD ...MISSING
        GD::Graph ...MISSING
        GD::Text ...MISSING
        Text::WikiFormat 0.76...MISSING

Install module Params::Validate
CPAN: File::HomeDir loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 01 Nov 2006 15:24:03 GMT
Running install for module Params::Validate
Running make for D/DR/DROLSKY/Params-Validate-0.86.tar.gz
CPAN: LWP::UserAgent loaded ok
Failed to load module CPAN.

-------- Error ---------
Can't call method "can" without a package or object reference at
/usr/lib/perl5/5.8.5/CPAN.pm line 2904.

------------------------

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
   `/usr/bin/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 `sbin/rt-test-dependencies` program;
4) install modules manually.


Now after that when i try to install directly through CPAN, i get another
set of errors:

[root at gridsupport ~]# perl -MCPAN -e shell
CPAN: File::HomeDir loaded ok

cpan shell -- CPAN exploration and modules installation (v1.8802)
ReadLine support enabled

 cpan[1]> install MIME::Base64
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 01 Nov 2006 15:24:03 GMT
Running install for module MIME::Base64
Running make for G/GA/GAAS/MIME-Base64-3.07.tar.gz
CPAN: LWP::UserAgent loaded ok
Can't call method "can" without a package or object reference at
/usr/lib/perl5/5.8.5/CPAN.pm line 2904.

 cpan[2]>


The system is AS4 and RT version trying to install is 3.6.0.
Has anyone seen these kind of errors? If so please help me sort it out.

Thanks for any and all help.

Regards
Sujith Emmanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20061103/6dd36d13/attachment.htm>


More information about the rt-users mailing list