Results 1 to 7 of 7

Thread: installing spamassassin through custombuild fails

  1. #1
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123

    installing spamassassin through custombuild fails

    Trying to install spamassassin through custombuild fails with missing perl modules...

    So I run:
    Code:
    perl -MCPAN -e shell
    install Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker
    CPAN runs about 25 minutes and fails with this message:
    Code:
    Installing /usr/local/bin/instmodsh
    Appending installation info to /usr/lib/perl5/perllocal.pod
      MSCHWERN/ExtUtils-MakeMaker-6.62.tar.gz
      /usr/bin/make install  -- OK
    Failed during this command:
     JMEHNLE/mail-spf/Mail-SPF-v2.8.0.tar.gz      : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280
    Anyone know how to install spamassassin trhough custombuild?

    Or had luck trying it any other way?

    Thanks.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  2. #2
    Join Date
    Feb 2006
    Posts
    204
    Hi Jeff, just last week I installed SA on a new CentOS 5 machine using http://help.directadmin.com/item.php?id=36. It did not install all modules but enough to run spam.sh. Afterwards I did sa update -D and noticed the missing modules. I had to install those few modules again.

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Jeff,

    try this idea to resolve issues with dependencies

    http://www.directadmin.com/forum/sho...174#post213174
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  4. #4
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    I use to use the Alex idea and it work perfectly.

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  5. #5
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,751
    Or the yum command from #1 (http://help.directadmin.com/item.php?id=36) could be used to install SA dependencies.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  6. #6
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    Quote Originally Posted by smtalk View Post
    Or the yum command from #1 (http://help.directadmin.com/item.php?id=36) could be used to install SA dependencies.
    I did finally get it installed; I installed using CPAN until it broke, then tried installing SpamAssassin again from custombuild; got a new (much smaller) list of errors, then installed those through CPAN, and it worked. I think next time I'll try installing SpamAssassin through yum. What do you think of that idea?

    Is there any way to build the dependencies in with custombuild, since CentOS 6 doesn't install them?

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  7. #7
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    This is still a major problem. Only way that seems to work is to:

    1) follow the instructions posted by smtalk above, but it will break. When it breaks try yum to install missing perl modules, but for me this doesn't work even though I've got lots of repositories installed:
    Code:
    atrpms                    Red Hat Enterprise Linux 6 - x86_64 - ATrpms         enabled:   1,791+148
    atrpms-bleeding           Red Hat Enterprise Linux 6 - x86_64 - ATrpms bleedin disabled
    atrpms-bleeding-debuginfo Red Hat Enterprise Linux 6 - x86_64 - ATrpms bleedin disabled
    atrpms-bleeding-source    Red Hat Enterprise Linux 6 - x86_64 - ATrpms bleedin disabled
    atrpms-debuginfo          Red Hat Enterprise Linux 6 - x86_64 - ATrpms - Debug disabled
    atrpms-source             Red Hat Enterprise Linux 6 - x86_64 - ATrpms - Sourc disabled
    atrpms-testing            Red Hat Enterprise Linux 6 - x86_64 - ATrpms testing disabled
    atrpms-testing-debuginfo  Red Hat Enterprise Linux 6 - x86_64 - ATrpms testing disabled
    atrpms-testing-source     Red Hat Enterprise Linux 6 - x86_64 - ATrpms testing disabled
    base                      CentOS-6 - Base                                      enabled:   5,932+362
    c6-media                  CentOS-6 - Media                                     disabled
    centosplus                CentOS-6 - Plus                                      disabled
    contrib                   CentOS-6 - Contrib                                   disabled
    debug                     CentOS-6 - Debuginfo                                 disabled
    epel                      Extra Packages for Enterprise Linux 6 - x86_64       enabled: 6,014+1,058
    epel-debuginfo            Extra Packages for Enterprise Linux 6 - x86_64 - Deb disabled
    epel-source               Extra Packages for Enterprise Linux 6 - x86_64 - Sou disabled
    epel-testing              Extra Packages for Enterprise Linux 6 - Testing - x8 disabled
    epel-testing-debuginfo    Extra Packages for Enterprise Linux 6 - Testing - x8 disabled
    epel-testing-source       Extra Packages for Enterprise Linux 6 - Testing - x8 disabled
    extras                    CentOS-6 - Extras                                    enabled:           4
    rpmforge                  RHEL 6 - RPMforge.net - dag                          enabled: 1,990+2,248
    rpmforge-extras           RHEL 6 - RPMforge.net - extras                       disabled
    rpmforge-testing          RHEL 6 - RPMforge.net - testing                      disabled
    updates                   CentOS-6 - Updates                                   enabled:      483+73
    (from the output of yum repolist all
    try to install Net::DNS (perl-Net-DNS) but it won't install via cpan; these are the errors just before it stops:
    Code:
    Result: FAIL
    Failed 1/34 test programs. 0/1779 subtests failed.
    make: *** [test_dynamic] Error 255
      OLAF/Net-DNS-0.68.tar.gz
      /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module, try:
      reports OLAF/Net-DNS-0.68.tar.gz
    Running make install
      make test had returned bad status, won't install without force
    It won't install through yum either; the error message is:
    Code:
    No package perl-Net-DNS available
    I got it installed by downloading it from

    http://pkgs.repoforge.org/perl-Net-D...rfx.x86_64.rpm

    but when I tried to install it I got a dependency error from rpm; it tells me the package requires perl-Digest-HMAC-MD5. There's no such package. Eventually I tried using yum to install a package called: perl-Digest-HMAC-1.01-22.el6.noarch.rpm and then it would install.

    SpamAssassin gets compiled, then, when running the spam.sh script, but it won't check SPF because of three missing modules:
    Code:
    perl(Error) is needed by perl-Mail-SPF-2.007-1.el6.art.noarch
    perl(URI) >= 1.13 is needed by perl-Mail-SPF-2.007-1.el6.art.noarch
    perl(URI::Escape) is needed by perl-Mail-SPF-2.007-1.el6.art.noarchp
    After searching for at least a half-hour I realized that the perl-ERROR rpm simply doesn't exist, so we don't have SPF checking in SpamAssassin.

    I beg of you, if you have a routine that just works on CentOS6 (I had problems with both 32-bit and 64-bit), from the beginning, without error, please post it here.

    If not, then I hope someone will have the time to work on it, because I'd like to continue using SpamAssassin.

    Thanks.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

Similar Threads

  1. Installing PHP with custombuild fails
    By luco in forum CustomBuild
    Replies: 8
    Last Post: 03-23-2016, 10:10 AM
  2. clamav update via custombuild fails
    By shaggy in forum General Technical Discussion & Troubleshooting
    Replies: 10
    Last Post: 06-21-2013, 11:14 AM
  3. Webalizer fails to build in custombuild.
    By digilexic in forum CustomBuild
    Replies: 11
    Last Post: 09-14-2010, 02:28 AM
  4. spamassassin setup fails
    By tazmanian in forum Admin-Level Difficulties
    Replies: 6
    Last Post: 01-04-2010, 04:58 AM
  5. Help! .. SpamAssassin fails after exim upgrade
    By spectrumproduct in forum E-Mail
    Replies: 4
    Last Post: 05-08-2008, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •