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. Pleas advise.
Thanks a lot.
Regards Martin
$ 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. Compilation failed in require at /usr/share/perl5/CPAN.pm line 56. BEGIN failed--compilation aborted at /usr/share/perl5/CPAN.pm line 56. Compilation failed in require. BEGIN failed--compilation aborted.
$ rpmbuild -ba moon-buggy.spec [...] + autoreconf -if Perl API version v5.16.0 of threads does not match v5.18.0 at /usr/share/perl5/XSLoader.pm line 92. Compilation failed in require at /usr/share/automake-1.14/Automake/ChannelDefs.pm line 23. BEGIN failed--compilation aborted at /usr/share/automake-1.14/Automake/ChannelDefs.pm line 26. Compilation failed in require at /usr/share/automake-1.14/Automake/Configure_ac.pm line 27. BEGIN failed--compilation aborted at /usr/share/automake-1.14/Automake/Configure_ac.pm line 27. Compilation failed in require at /usr/bin/aclocal line 39. BEGIN failed--compilation aborted at /usr/bin/aclocal line 39. autoreconf: aclocal failed with exit status: 2 error: Bad exit status from /var/tmp/rpm-tmp.ePUGGu (%prep)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ePUGGu (%prep)