[rt-users] Test::WWW::Mechanize 1.04...MISSING

MainStreetPackaging.com sales at mainstreetpackaging.com
Tue Sep 19 19:18:23 EDT 2006


Debian Sarge

debian:/rt-3.6.1# make fixdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with- 
mysql
perl:



[snip]
         Test::WWW::Mechanize 1.04...MISSING
[snip]




Install module Test::WWW::Mechanize
CPAN: File::HomeDir loaded ok
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
   Database was generated on Mon, 18 Sep 2006 23:32:32 GMT
Running install for module Test::WWW::Mechanize
Running make for P/PE/PETDANCE/Test-WWW-Mechanize-1.12.tar.gz
Fetching with LWP:
   ftp://cpan.cs.utah.edu/pub/CPAN/authors/id/P/PE/PETDANCE/Test-WWW- 
Mechanize-1.12.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Module::Signature loaded ok
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867  
450F 89EC
Signature for /root/.cpan/sources/authors/id/P/PE/PETDANCE/CHECKSUMS ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/P/PE/PETDANCE/Test-WWW- 
Mechanize-1.12.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Warning: weird direntry in /root/.cpan/build: tmp
Warning: weird direntry in /root/.cpan/build: Term-ReadLine-Perl-1.0302
Warning: weird direntry in /root/.cpan/build: Test-WWW-Mechanize-1.12
Warning: weird direntry in /root/.cpan/build: Module-Signature-0.55
Warning: weird direntry in /root/.cpan/build: Archive-Tar-1.30
Warning: weird direntry in /root/.cpan/build: Archive-Zip-1.16
Warning: weird direntry in /root/.cpan/build: Net-Telnet-3.03
Warning: weird direntry in /root/.cpan/build: libnet-1.19
Warning: weird direntry in /root/.cpan/build: TermReadKey-2.30
Warning: weird direntry in /root/.cpan/build: Test-LongString-0.09
Warning: weird direntry in /root/.cpan/build: YAML-0.62
Warning: weird direntry in /root/.cpan/build: Text-Glob-0.07
Warning: weird direntry in /root/.cpan/build: Module-Build-0.2805
Warning: weird direntry in /root/.cpan/build: CPAN-1.87
Warning: weird direntry in /root/.cpan/build: File-Which-0.05
Warning: weird direntry in /root/.cpan/build: DBIx-SearchBuilder-1.43
Warning: weird direntry in /root/.cpan/build: Test-Simple-0.64
Warning: weird direntry in /root/.cpan/build: capitalization-0.03
Warning: weird direntry in /root/.cpan/build: Apache-Test-1.28
Warning: weird direntry in /root/.cpan/build: Module-Refresh-0.09
Warning: weird direntry in /root/.cpan/build: Test-Expect-0.30
Warning: weird direntry in /root/.cpan/build: Class-Accessor- 
Chained-0.01
Warning: weird direntry in /root/.cpan/build: Expect-Simple-0.02
Warning: weird direntry in /root/.cpan/build: Expect-1.20
Warning: weird direntry in /root/.cpan/build: IO-Tty-1.07
Warning: weird direntry in /root/.cpan/build: HTTP-Server-Simple- 
Mason-0.09
Warning: weird direntry in /root/.cpan/build: Hook-LexWrap-0.20
Warning: weird direntry in /root/.cpan/build: Text-WikiFormat-0.78
Warning: weird direntry in /root/.cpan/build: Scalar-List-Utils-1.18
Can't remove file tmp (No such file or directory) at /usr/local/share/ 
perl/5.8.4/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 ---------


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

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='/usr/bin/perl -MCPAN -e"install %s"'
2) Attempt to configure CPAN by running:
    `/usr/bin/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

make: *** [fixdeps] Error 1
debian:/rt-3.6.1#

CPAN is definitely installed; I've been going through http:// 
wiki.bestpractical.com/index.cgi?DebianStableInstallGuide and I'm  
nearly all done.

I have all dependencies done except for this one. I've spent about 2  
hours now trying to work out to fix this one but I can't for the life  
of me work out what I need to do to fix this. I can see that there's  
a problem with making the directory but I still can't work it out.

Can anyone please point me in the right direction please? :)

Regards,

Mark



More information about the rt-users mailing list