Re: installing perl modules on F10

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

 



Norman Gaywood wrote:
Hi list,

So whats the recommended way of installing perl modules in Fedora 10?

What we have been doing in the past is to install a perl-* rpm via yum
if one is available for the module we want.
This is the preferred method.

If the module is not available via rpm, we use "perl -MCPAN -e shell" to
install modules.
>
However, on the systems we recently upgraded to Fedora 10 (from F8), the
perl modules installed via CPAN are no longer in perl's @INC search path.
Yes. site_perl has been changed in F10.

So I guess we can go through and manually install those lost modules
with CPAN again,
Correct, in cases like this, you would have to
1.) uninstall all CPAN-built modules
2.) rebuild all CPAN-built modules

but is there a better way?
Well, the actual cause of your issues is both CPAN and rpm being conflicting installer systems, which don't harmonize well.

I.e. for a clean solution providing a consistent setup one would have to restrict oneself to one of these and to avoid mixing them.

That said, from a distribution's point of view, packaging perl-modules into rpms is the preferred solution, because this is supposed to assure a clean setup (modulo bugs) rsp. to raise prominent warnings/errors in case something changes.

I.e. the preferred solution, in case somebody is missing a perl-*.rpm in Fedora, is this person to contribute such a corresponding rpm to Fedora.

Ralf



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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