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