Comment 9 for bug 67111

Revision history for this message
Daniel Givens (rugmonster) wrote : Re: Cyrus linked against db4.4 compiled against 4.3 ?

Since I don't know the proper way to submit a change, I have attached the new control file. If you wish to build your own package from source, you simply need to do the following:

1. Download the attached control patch file which simply changes the build-depends from libdb4.3-dev to libdb4.4-dev.

2. Get the cyrus-imapd-2.2 source

# apt-get source cyrus-imapd-2.2

The source will be downloaded and expanded in your current working directory

3. Get the build dependencies

# apt-get build-dep cyrus-imapd-2.2
# apt-get install libdb4.4-dev fakeroot

Since the current source lists libdb4.3-dev as a build dependency, we need to get libdb4.4-dev ourselves. Fakeroot is also needed to properly build the package.

4. Apply the control patch

# patch -i control-cyrus-imapd-2.2.diff

5. Build the new packages

# cd cyrus-imapd-2.2-2.2.13/
# dpkg-buildpackage -rfakeroot -b

Packages will be built and placed in the parent directory

6. Install the packages

# cd ..
# dpkg -i cyrus*.deb

If you don't feel like going through that, I have posted the correct packages for i386 and AMD64 on my site at http://rugmonster.org/cyrus/.