Re: Recursive dependency detected

[email protected] (Jean-Denis Muys) Thu, 11 Jun 2009 14:08:09 +0200
Newsgroups perl.cpan.discuss
Message-ID <C656C049.4B7C%[email protected]>
On 6/11/09 12:21 , "Jean-Denis Muys" <[email protected]> wrote:

> Hello,
> 
> During the install in CPAN of Log::Log4perl, I got a Recursive dependency
> detected error, which I managed to reduce to:
> 
> Scalar::Util > Test::More > Test::Harness > File::Spec > Scalar::Util
> 

I managed to go through the issue, in several steps:

1) tried to update CPAN. It failed suggesting to install Term::ReadKey
2) tried to install Term::ReadKey. It failed because gcc was not installed
3) tried to install gcc with yum (after spending quite some time on the net
finding out how). It failed with " Lock table is out of available locker
entries".
4) spent some time on the net and found a suggestion to " rm
/var/lib/rpm/__db.00*", followed by " rpm ­rebuilddb". The first command
succeeded, the second didn't as rpm simply output its useage summary.
5) ignoring the failure of "rpm ­rebuilddb" now accepted to install gcc.
6) install Term::ReadKey from CPAN now succeeded.
7) installing the lated CPAN now succeeded
8) installing Log::Log4perl now succeed without complaining for Recursive
dependency.

So I am still as puzzled as before, but at least I can go on.

No wonder I still prefer the Mac over Linux...

Jean-Denis