Missing modules that are installed and wierd error message

ErikM

Verified User
Joined
Sep 19, 2014
Messages
18
Hello,

I am testing with a openstack cloud image from centos. It is the latest in http://cloud.centos.org/centos/7/images/

Everything works except CPAN and spamassassin.
I followed the standard installation as metioned by DA

When i do a ./build spamassassin i get the following message.

Insecure dependency in require while running with -T switch at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.
Compilation failed in require at (eval 20) line 2.
...propagated at /usr/share/perl5/base.pm line 84.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver/UNIX.pm line 18.
Compilation failed in require at (eval 19) line 2.
...propagated at /usr/share/perl5/base.pm line 84.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver.pm line 22.
Compilation failed in require at /usr/local/share/perl5/Net/DNS.pm line 51.
Compilation failed in require at /usr/bin/sa-update line 84.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 84.
Starting SpamAssassin.
Job for spamassassin.service failed because the control process exited with error code. See "systemctl status spamassassin.service" and "journalctl -xe" for details.
Restarting exim.

Then i go do spamassassin -D --lint and i get te following missing modules
module not installed: Net::DNS ('require' failed)
not installed: Mail::SPF ('require' failed)
not installed: Net::DNS::Nameserver ('require' failed)

But when i go to cpan and do a install of those modules the already excists and even the latest versions.

What can be wrong?

Erik.
 
Top