Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-14-2005, 10:37 PM
Loyal Member
 
Posts: 95
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
File Type: txt spamassasin.txt (5.6 KB, 310 views)
Reply With Quote
  #2 (permalink)  
Old 12-15-2005, 10:18 AM
Zimbra Employee
 
Posts: 2,103
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.
Reply With Quote
  #3 (permalink)  
Old 12-15-2005, 01:34 PM
Loyal Member
 
Posts: 95
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
Reply With Quote
  #4 (permalink)  
Old 12-15-2005, 02:11 PM
Zimbra Employee
 
Posts: 2,103
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.
Reply With Quote
  #5 (permalink)  
Old 12-16-2005, 12:39 PM
Loyal Member
 
Posts: 95
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 .
Reply With Quote
  #6 (permalink)  
Old 12-16-2005, 12:43 PM
Zimbra Employee
 
Posts: 2,103
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.
Reply With Quote
  #7 (permalink)  
Old 01-04-2006, 08:21 PM
Senior Member
 
Posts: 74
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.
Reply With Quote
  #8 (permalink)  
Old 01-04-2006, 08:40 PM
Zimbra Employee
 
Posts: 2,103
Default spamassassin is all over google.

http://www.google.com/search?q=spama...en-US:official
Reply With Quote
  #9 (permalink)  
Old 01-05-2006, 09:48 AM
Senior Member
 
Posts: 74
Default what is perllib.tgz???

I'm really asking what's perllib.tgz. what should be included?
Reply With Quote
  #10 (permalink)  
Old 01-05-2006, 09:50 AM
Zimbra Employee
 
Posts: 2,103
Default perllib.tgz

cd Thirdparty/Perl, make

did you read cvs_build_howto.txt in ZimbraServer/docs?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.