Re: F21 - perl broken? 5.16 vs. 5.18 API problem.

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

 



On 03/12/2015 04:22 PM, Martin Møller Skarbiniks Pedersen wrote:
Hi,
   I am trying to build a rpm but now I got a perl  problem ?
   It looks like my perl installation is somehow broken currently.

$ perl --version

This is perl 5, version 18, subversion 4 (v5.18.4) built for
x86_64-linux-thread-multi
(with 23 registered patches, see perl -V for more detail)
[...]

$ perl -MCPAN -e shell
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/local/share/perl5/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Safe.pm line 4.

This error message indicates you to be mixing non-rpm-installed perl-dists (/usr/local/share/perl5) with rpm-installed perl-dists.

Likely, your non-rpm-installed perl-modules/dists originate from an older install (likely you upgraded Fedora) and are incompatible with Fedora's perl.

To avoid such surprises, my advise would be not to use any non-rpm-installed perl-dists.

If you cannot avoid them, you'd first have to remove all perl-modules under /usr/local and to rebuild/reinstall all of them.


Ralf

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux