Results 1 to 10 of 10

Thread: Error when building Mail::Spamassasin

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Posts
    95
    Rep Power
    10

    Default Error when building Mail::Spamassasin

    Attachment is the error when I tried to build ThirdParty/Perl/perllib.tgz on a RHEL4 box. It seems that Mail::Spamassassin requires Digest::SHA1 and HTML::Parser but somehow these two modules were not installed. I have re-tried so many times but still no luck. Please advise.

    -g
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default install them

    Try this:

    Remove your ~root/.cpan/CPAN/MyCongfig.pm (if you have one).

    Then (as root)
    perl -MCPAN -e 'install Digest::SHA1'
    perl -MCPAN -e 'install HTML::Parser'

    THen, replace your MyCOnfig.pm (if you have one) and you should be ok to build.

  3. #3
    Join Date
    Sep 2005
    Posts
    95
    Rep Power
    10

    Default

    Thanks marcmac, Mail::Spamassassin was built successfully but another error appeared when I tried to start amavisd: Can't locate Convert/TNEF.pm. Please help.

    TIA,

    -g

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Convert::TNEF

    Check the output from your perl lib build - Convert::TNEF is definitely built, though the build doesn't exit on errors in a particular module.

  5. #5
    Join Date
    Sep 2005
    Posts
    95
    Rep Power
    10

    Default

    Convert::TNEF was not built because I didnt have expat-devel which is required by XML::XML_Parser. I dont know whether Convert:TNEF depends on XML::XML_Parser or not but I got it built when I installed expat-devel. Please put these requirements to ZimbraServer/docs/build_cvs_howto.txt.

    TIA,

    -g

    PS1: marcmac, could you please show me the way not to run "make test" when installing Perl modules? I found that these tests consume a lot of time but it seems that they are useless. When I built Net::LDAP (somehow it wasnt built by default ), although the tests failed but I just run "make install" and NET::LDAP works like a charm.

    PS2: another request, could you please ship perllib.tgz for RHEL4 and FC3 along with zimbra source? It's a breeze to build all third-parties but perllib.tgz which took me days to build .

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default perl libs

    We don't ship the built perl libs for the same reason we don't ship other 3rd party sources - it's too much trouble, especially since they're available from the authors.

    Not sure how to avoid "make test" but perldoc on CPAN.pm might show the way.

  7. #7
    Join Date
    Dec 2005
    Posts
    74
    Rep Power
    10

    Default what is perllib.tgz???

    Is this a third party utility, or yourself made package like mysql-standard-4.1.10a-clientlibs.tgz?

    If true third party utility, please provide the link. I can't get any hit by googling.

    If yourself made package, please give your definition/description, and procedure to make this.

    Thanks.

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

  9. #9
    Join Date
    Dec 2005
    Posts
    74
    Rep Power
    10

    Default what is perllib.tgz???

    I'm really asking what's perllib.tgz. what should be included?

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default perllib.tgz

    cd Thirdparty/Perl, make

    did you read cvs_build_howto.txt in ZimbraServer/docs?

Similar Threads

  1. Replies: 6
    Last Post: 01-02-2008, 03:17 PM
  2. Building Zimbra
    By raks35 in forum Developers
    Replies: 1
    Last Post: 06-12-2007, 12:04 PM
  3. list of CPAN modules zimbra uses for building perl
    By ravinder in forum Developers
    Replies: 3
    Last Post: 06-28-2006, 11:39 AM
  4. problem while building perl
    By ravinder in forum Developers
    Replies: 7
    Last Post: 05-29-2006, 10:38 AM
  5. Building from zcs-3.0.0_M2_740-src.tgz
    By daly1 in forum Installation
    Replies: 5
    Last Post: 12-20-2005, 05:47 PM

Posting Permissions

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