Install from source on Ubuntu

From Zarafa wiki

Revision as of 15:29, 11 January 2010 by Cies (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This document describes how I adjusted an Ubuntu 9.10 server VM image from thoughtpolice to include Zarafa 6.30.7 from source. I found my VMWare image here:


Start VMWare Player, hit "Open a Virtual Machine", and select the .vmx file we just unzipped. Hit "Play" and say this VM is copied.

Logged in as "nonroot", the default user. Changed password to "password". Then I prepped the system for further use:

 sudo aptitude update
 sudo aptitude safe-upgrade  # upgrades the system, includes a new kernel, therefore reboot
 sudo aptitude install ssh openssh-server  # so we can log in with an ssh client ("putty" is a favorite on windows)
 reboot  # reboot and log in again on the updated kernel
 ifconfig | grep "inet addr"  # to find the ipaddress ubuntu is listening on, as we want log in over ssh

Logged in over ssh (linux: ssh notroot@IPADDRESS, or use putty in Windows).

 sudo aptitude install apache2 postfix libapache2-mod-php5 mysql-client slapd \
   mysql-server tinyca ca-certificates libcurl3 libssh2-1 build-essential \
   php5-dev libtool pkg-config uuid-dev libmysqlclient15-dev gettext libz-dev \
   libldap-dev automake1.11 debhelper flex bison libcurl4-dev libssl-dev \
   libxml2-dev libncurses-dev 

Become root (sudo su). Download Zarafa community source package from: Move this tarball to /usr/local/src Then do the following:

 cd /usr/local/src
 # libical 0.44
 tar xvzf libical-0.44.tar.gz
 cd libical-0.44
 make; make install
 cd ..
 # libvmime 0.7.1 + patches
 tar xvjf libvmime-0.7.1.tar.bz2
 mkdir zarafa-vmime-patches
 tar xvzf zarafa-vmime-patches.tar.gz -C zarafa-vmime-patches
 cd libvmime-0.7.1
 for i in ../zarafa-vmime-patches/*.diff; do patch -p1 < $i; done
 make; make install
 cd ..
 # zarafa 6.30.7
 tar xvzf zarafa-6.30.7
 cd zarafa-6.30.7
 ./configure --disable-static --disable-testtools \
   --with-userscript-prefix=/etc/zarafa/userscripts \
 make; make install
 ls /usr/local/bin/zarafa-*  # shows that it worked
Personal tools