Menu

Installation

Sebastian Reitenbach

OpenGroupware Installation instructions

There is a great deal of noise generated about having or not having distribution specific installation instructions; the position of this document is that distribution specific installation instructions are an unnecessary make-work project that waste a most precious resource: time. Installation of OpenGroupware on any mainstream Linux distribution is essentially the same process. Any competent systems administrator will be able to install OpenGroupware without significant difficulty.

Below is the installation described as tested on OpenSUSE 12.2 i386/x86_64.
On other distributions, the steps should be similar.

Versions

The wiki will only cover the latest version of OpenGroupware, including some upgrading steps from older versions. New features will be added to the Mercurial repository hosted on Sourceforge.
The OpenGroupware Mercurial Repository1 is a good place to watch for important changes to the OpenGroupware application.

Dependencies

depending on your distribution, you should have installed the following or similar packages:
* openldap2-devel
* libmysqlclient-devel
* postgresql-devel
* apache2-devel
* gcc-objc
* gcc-c++
* make
* gmp-devel
* libxslt-devel
* libffi-devel
* avahi-devel
* libicu-devel
* gnutls-devel
* libopenssl-devel

GNUstep Make

wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.6.2.tar.gz
tar -xvzf gnustep-make-2.6.2.tar.gz
cd gnustep-make-2.6.2
LDFLAGS=-L/usr/local/lib ./configure \
--with-layout=fhs \
--prefix=/usr/local \
--with-config-file=/etc/GNUstep.conf \
--with-library-combo="gnu-gnu-gnu" \
--enable-strict-v2-mode \
--enable-multi-platform
sudo make install
cd ..

GNUstep Base

# If you have any really old gnustep libraries hanging around in
# /usr/local/ you may want to consider eliminating them.
wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.24.0.tar.gz
tar -xvzf gnustep-base-1.24.0.tar.gz
cd gnustep-base-1.24.0
./configure --disable-procfs --disable-procfs-psinfo
make
sudo PATH=$PATH:/usr/local/bin make install
cd ..

SOPE

wget http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-2.0.3a.tar.gz
tar xzvf SOPE-2.0.3a.tar.gz
cd SOPE
./configure \
--prefix=/usr/local \
--gsmake=/usr/local/share/GNUstep/Makefiles
make messages=yes
sudo make messages=yes install
cd ..

Verify that it works so far

### REFRESH THE SYSTEM'S LIBRARY CACHE
sudo /sbin/ldconfig

### TEST RUNTIME ENVIRONMENT
$ defaults
defaults: too few arguments supplied!

This means the "defaults" command is available and it was able
to load all the libraries required for it to run. If instead
you get a "error while loading shared libraries" error then the
run-time environment is dorked somehow.

OpenGroupware Installation

hg clone http://hg.code.sf.net/p/opengroupware/code OGo
cd OGo/opengroupware
./configure --prefix=/usr/local
make APR=/usr/bin/apr-1-config APXS=/usr/sbin/apxs2
sudo make install

Voila, OpenGroupware is installed. Now you may go on with the Post installation tasks.