[rt-users] make fixdeps problem

Mathew Snyder msnyder at servervault.com
Tue Jun 20 21:35:03 EDT 2006


I'm currently getting v3.6.0 prepared for a production server running on 
Fedora Core 5.  I've been testing the installation and configuration for 
a while now and know that I can get it in place by installing most perl 
modules via yum and the remaining modules manually via cpan.  I would 
prefer being able to run the 'make fixdeps' command but I keep getting 
an error:

Warning: weird direntry in /root/.cpan/build: tmp
Can't unlink file tmp: No such file or directory at 
/usr/lib/perl5/5.8.8/CPAN.pm line 4373

==> Couldn't mkdir '/root/.cpan/build/tmp': File exists           <==

==> Cannot continue: Please find the reason why I cannot make the <==
==> directory                                                     <==
==> /root/.cpan/build/tmp                                         <==
==> and fix the problem, then retry.                              <==
Failed to load module CPAN.

-------- Error ---------


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

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.

make: *** [fixdeps] Error 1


I've tried removing the .cpan/build/tmp directory as well as anything in 
the .cpan/build directory that might cause conflicts.  All this has done 
is change the lines at the top of the provided output to other thing 
like unable to move 'modulename-dir to to /root/.cpan/build' and the like.

Has anyone else encountered this error and know how to correct it?

-- 
Mathew Snyder
Systems Administrator
Network+
ServerVault TechOps




More information about the rt-users mailing list