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 02-04-2010, 10:08 AM
Zimlet Guru & Moderator
 
Posts: 467
Default [Inprogress and currently stuck] Mac OS Build Thread

Hey Guys,

I am working on building Zimbra MacOS from Main. Running into problems, but I thought I would document them as I go to help others. Machine is Snow Leopard quad core core box with 8GB of RAM.

1) You need Apple's Developer tools + Port.
1) Snow Leopard doesn't have Java 5.0, which parts of Zimbra still need.
Fix: (From OS X 10.6 Snow Leopard - OneSwarm Wiki)

Code:
cd /tmp/
curl -o java.1.5.0-leopard.tar.gz http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.5.0-leopard.tar.gz
tar -xvzf java.1.5.0-leopard.tar.gz
sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard
cd /System/Library/Frameworks/JavaVM.framework/Versions/
sudo rm 1.5.0
sudo ln -s 1.5.0-leopard 1.5.0
sudo rm 1.5
sudo ln -s 1.5.0 1.5
Then change Java settings in the Java Preferences app.

2) You need a second copy of Java for distribution purposes.

2) You need Xcode from apple. It should be on your Snow Leopard install disk.

3) You need MacPorts. Download from here: Index of /MacPorts (I used 1.8.2 for Snow Leopard). Once you have installed, open up a terminal window and type:
Code:
port install wget
4) Check out the latest code from perforce (will copy this from existing documention).

Change directory to /Users/public/p4/zcs/main.
cd ZimbraBuild
run ./buildZCS.sh -t

Two things are breaking: cyrus-sasl and Perl.

(To be continued as I figure it out).
Reply With Quote
  #2 (permalink)  
Old 02-04-2010, 11:24 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

It's dying in the zm perl check install:
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/Convert/UUlib.pm
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/Net/DNS/Resolver.pm
/System/Library/Perl/Extras/5.10.0/XML/Simple.pm

Trying to figure out if this means that it could not find these modules, or something else.
Reply With Quote
  #3 (permalink)  
Old 02-04-2010, 03:50 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Seems like it's XML::Simple that perllib is dying on.
Reply With Quote
  #4 (permalink)  
Old 02-04-2010, 04:07 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by JoshuaPrismon View Post
Seems like it's XML::Simple that perllib is dying on.
Fixed by copying the MyConfig.pm into ~/.cpan/CPAN
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.