Contents
Instructions to build SOGo, SOPE, Openchange and Samba on various platforms.
Debian / Ubuntu
Install the build tools:
apt-get install git devscripts debhelper build-essential
Samba + Openchange
prerequisite packages
apt-get install autoconf automake bison doxygen flex libboost-thread-dev python-paste python-pastedeploy python-pastescript python-mako libical-dev libmagic-dev libsqlite3-dev libacl1-dev swig
Building Samba
- First, clone the openchange git repository and checkout the sogo branch:
git clone git://git.openchange.org/openchange.git git checkout sogo
- Fixup the environment for samba4 non standard paths:
echo "/usr/local/samba/lib" > /etc/ld.so.conf.d/samba4.conf echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/samba/lib/pkgconfig' >> ~/.bashrc echo 'export PYTHONPATH=$PYTHONPATH:/usr/local/samba/lib/python2.7/site-packages' >> ~/.bashrc echo 'export PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin' >> ~/.bashrc . ~/.bashrc
- Build and install samba:
cd openchange make samba sudo ldconfig
- Build openchange
# (make clean) ./autogen.sh && \ ./configure --prefix=/usr/local/samba && \ make install && \ ldconfig
SOPE + SOGo
Prerequisites
apt-get install gnustep-make gnustep-base-runtime libgnustep-base-dev libgnustep-base1.22-dbg gobjc libxml2-dev libldap2-dev libssl-dev zlib1g-dev libpq-dev libmysqlclient-dev libmemcached-dev python-m2crypto python-simplejson python-vobject python-dateutil mysql-client postgresql-client tmpreaper libcurl4-openssl-dev
Build
- First, clone sogo and sope git repositories:
git clone https://github.com/inverse-inc/sogo.git git clone https://github.com/inverse-inc/sope.git
- Build SOPE
cd sope ./configure --with-gnustep --enable-debug --disable-strip make make install
- Build SOGo
cd sogo ./configure --enable-debug --disable-strip make make install
- Build SOGo/Openchange
cd sogo/OpenChange make install