John Hardin wrote: > On Tue, 25 Feb 2014, Matt wrote: > >> When doing sa-update -D I get this: >> >> dbg: diag: [...] module not installed: Mail::SPF ('require' failed) >> >> What do I need to get this on Centos? >> >> I see this: >> >> # yum list available |grep -i spf >> >> libspf2.x86_64 >> 1.2.9-1.el6.rf rpmforge >> libspf2-devel.x86_64 >> 1.2.9-1.el6.rf rpmforge >> perl-Mail-SPF-Query.noarch >> 1.999.1-2.el6.rf rpmforge
Try enabling the RPMForge "extras" repository - it's disabled by default because all or most of the packages there conflict or overwrite packages from the base distro. $ rpm -qa |grep -i spf perl-Mail-SPF-2.8.0-1.el5.rfx > perl modules named "X::Y" are typically in "perl-X-Y.noarch". > > perl-Mail-SPF-Query.noarch *may* satisfy Mail::SPF. On CentOS, or any other RedHat-ish rpm-based platform using yum, you can also do: # yum install 'perl(Mail::SPF)' and it will install the necessary package to provide that Perl module, assuming there's one available. There's similar support for Python modules too, and possibly Ruby in eg recent Fedora releases. I like that Debian(-derived) systems have so many Perl modules packaged... but when you're looking for something odd, and you don't know which actual package it may be in, the dependency system in rpm has dpkg beat hands-down because it's not limited to just package names. -kgd