rpm installation and dependencies

Paul Howarth paul at city-fan.org
Fri Jul 8 14:54:48 UTC 2005


sasa wrote:
> Hi, I have a prboblem with Fedora Core 3 and spamassassin installation, when execute:
> 
> [root at test ~]# rpmbuild -tb Mail-SpamAssassin-3.0.4.tar.gz
> error: Failed build dependencies:
>         perl(Digest::SHA1) is needed by spamassassin-3.0.4-1.i386
> [root at test ~]# cpan
> Terminal does not support AddHistory.
> 
> cpan shell -- CPAN exploration and modules installation (v1.7601)
> ReadLine support available (try 'install Bundle::CPAN')
> 
> cpan> install Digest::SHA1
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
>   Database was generated on Thu, 07 Jul 2005 21:03:59 GMT
> Digest::SHA1 is up to date.
> 
> cpan> quit
> Terminal does not support GetHistory.
> Lockfile removed
> 
> ..before of to install Mail-SpamAssassin I have installed Digest::SHA1, therefore because I have an error ??
> thanks.

Simpler method for installing spamassassin is:

# yum install spamassassin

Regarding the dependency issue, RPM dependencies can only be solved by 
installing RPM packages, e.g. the perl-Digest-SHA1 package. Installing 
the module from CPAN won't help.

Paul.




More information about the fedora-list mailing list