[Yum] yum does not find an installed perl module

Ville Skyttä ville.skytta at iki.fi
Thu Jul 3 18:44:32 UTC 2003


On Wed, 2003-07-02 at 23:43, Peter Peltonen wrote:
> I got my problem solved:
> 
> It seems that cpan2rpm does not create proper Provides: lines in the
> specs files.

That's what the /usr/lib/rpm/perl.* are for, they're called by
/usr/lib/rpm/find-(requires|provides)* at build time and are supposed to
create the automagic perl(Foo::Bar) deps.  perl.req for the Requires:,
perl.prov for the Provides:.

At least some RHL (or to be exact, rpm) versions shipped with perl.req
non-executable in order to avoid creating bogus dependencies, I guess. 
That has been changed since.  But perl.prov was executable in your case,
so the problem is/was somewhere else.

> Using the --provides switch in cpan2rpm and specifying the perl modules
> that being provided did the trick.

That's another, ok but brutal/manual, way to go :)

-- 
\/




More information about the Yum mailing list