Installation on Debian ppc
From Kolab wiki
This page is about additional hints when installing
a Kolab Server on a Debian PowerPC (ppc) architecture.
- Post by Bernhard Reiter about this:
[1] He need to strip the optimisation compiler option from the db4 package.
For this you need to first install enough packages from the OpenPKG system. Then install the source rpm of db4, change the spec file before building the package. Some command for doing so can be found in the OpenPKG Users' Quickref .
rpm --install -vh imapd-2.2.12-2.5.0_kolab2.src.rpm cd /kolab/RPM/SRC/ vim db/db.spec
If you know what "l_cflags" will expand to, you can directly change
CFLAGS="%{l_cflags -O}"
to the result without the "-O" and "-O2" to read
CFLAGS="%{-pipe }"
or similiar. And then build and install, e.g. with something like
rpm -bb db/db.spec rpm --install -vh /kolab/RPM/PKG/imapd-2.2.12-2.5.0_kolab2.ppc-debian3.1-kolab.rpm
Do not forget that all packages that use db need to build afterwards or deleted and rebuild. You should use "obmtool" for the necessary rebuilds now, because it will use the right options for the other packages.
