Re: Custom rpm install problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Track wrote:
On 8/14/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
Dan Track wrote:
> On 8/14/06, DeXteR <dexter@xxxxxxxxxxxxxxx> wrote:
>> Dan Track wrote:
>> >
>> >
>> > error: Failed dependencies:
>> >        perl(BSD::Resource) is needed by MX-Mod_perl
>> >        perl(Devel::Symdump) is needed by MX-Mod_perl
>> >
>> > When I do a locate I can find the appropriate files (e.g .pm's), so I
>> > can't see why its not installing.
>> You say you have the right .pm files installed (I assume through RPM).
>> The rpm that won;t install here has a REQUIRE "BSD::Resource".
>> This file is installed as a .pm, but the RPM does not provide the
>> database field "PROVIDES "BSD::Resource"".
>> Either you change the rpm you are trying to install to require the .pm, >> or change the intalled rpm to provide the cpam name. Or use the --force
>> options :P
>>
>> /Arjen
>>
>
> Hi Arjen,
>
> Thanks for the detailed explanation. Would you know what the options
> would be to insert into the rpm.spec to make it aware of the cpan
> modules?

Why don't you save yourself the hassle and just install the RPMs?

# yum install 'perl(BSD::Resource)' 'perl(Devel::Symdump)'



Hi

Yep I could do so. Its just that happened to be installed already through cpan.

I'm not that great with rpm at the moment, but reading the spec file,
I can't see anywhere where it states a requirement for the mentioned
perl modules. Would you know where its getting its requirement from?

There are scripts run at the end of the rpm build process that look for perl provides/requires in the files you have packaged. These are in addition to any that you have explicitly put in your spec file. These dependencies are usually correct, i.e. if rpm is adding them then there is something in the package that uses them.

Remember too that the RPM database knows nothing about anything that you have locally installed (e.g. from CPAN), which is why it's best always to install RPMs for perl packages so that other RPM-based packages can "see" the modules, rather than installing them locally.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux