[Dovecot] Upgrade from 2.1 to 2.2 on Debian
Hello,
I am currently running Dovecot 2.1 on current Debian and need to upgrade to 2.2 to use the replication features.
I understand that I therefore need to compile Dovecot myself. I am using a MySQL database for users authentication, therefore I need to compile Dovecot with mysql support: *./configure --with-mysql* Unfortunately this terminates with: *configure: error: Can't build with MySQL support: libmysqlclient not found*
I installed libmysqlclient from debian repos, but it does not help.
Also, how do I then connect the newly installed dovecot to my existing /etc/init.d/dovecot script?
Thank you. Lucas
-- Lucas Rothamel Eye Catching Webdesign info@eye-catching-webdesign.de - www.eye-catching-webdesign.de
You know, we go to the gym to keep the body fit. Similarly the mind needs some rest. The mind is bombarded with so many impressions. Our mind has been bombarded by impressions the whole time. It needs a different kind of rest other than sleep. And meditation is such a rest. It calms the mind. energizes the spirit and makes the body more strong and vibrant. improves the immune system. The immune cells, the T-cell count go higher through Sudarshan Kriya and meditation. And you feel so nice inside. - Sri Sri Ravi Shankar I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams
You need the libmysqlclient-dev package if you want to compile something with mysql. Did you install it?
On 10/20/2013 11:27 AM, Lucas Rothamel - Eye Catching Webdesign wrote:
Hello,
I am currently running Dovecot 2.1 on current Debian and need to upgrade to 2.2 to use the replication features.
I understand that I therefore need to compile Dovecot myself. I am using a MySQL database for users authentication, therefore I need to compile Dovecot with mysql support: *./configure --with-mysql* Unfortunately this terminates with: *configure: error: Can't build with MySQL support: libmysqlclient not found*
I installed libmysqlclient from debian repos, but it does not help.
Also, how do I then connect the newly installed dovecot to my existing /etc/init.d/dovecot script?
Thank you. Lucas
Lucas Rothamel - Eye Catching Webdesign info@eye-catching-webdesign.de wrote:
I am currently running Dovecot 2.1 on current Debian and need to upgrade to 2.2 to use the replication features.
I understand that I therefore need to compile Dovecot myself.
No. Just use the excellent packages from http://xi.rename-it.nl/debian/ See http://wiki2.dovecot.org/PrebuiltBinaries for more information.
It says "Don't use them in production" on the label of the repository, but if you set the installed packages on hold via dpkg/apt-get so you don't get suprised by sudden updates, this repository is safe to use.
Grüße, Sven.
-- Sigmentation fault. Core dumped.
On 10/20/2013 05:39 PM, Sven Hartge wrote:
Lucas Rothamel - Eye Catching Webdesign info@eye-catching-webdesign.de wrote:
I am currently running Dovecot 2.1 on current Debian and need to upgrade to 2.2 to use the replication features. I understand that I therefore need to compile Dovecot myself. No. Just use the excellent packages from http://xi.rename-it.nl/debian/ See http://wiki2.dovecot.org/PrebuiltBinaries for more information.
It says "Don't use them in production" on the label of the repository, but if you set the installed packages on hold via dpkg/apt-get so you don't get suprised by sudden updates, this repository is safe to use.
Grüße, Sven.
I agree in principle, specifically if you just look at the last commits at http://hg.dovecot.org/dovecot-2.2/ so you know what your latest binaries contain, and it seems to make sense, then you can put the packages on hold, and test them given your particular configuration and demands. if it works, then .. it works.
If you want the proper debian way, just take the 2.2 package from debian's experiemental suite , refresh it to 2.2.6 and compile it. It's not all that hard to do.
Gedalya gedalya@gedalya.net wrote:
On 10/20/2013 05:39 PM, Sven Hartge wrote:
Lucas Rothamel - Eye Catching Webdesign info@eye-catching-webdesign.de wrote:
I am currently running Dovecot 2.1 on current Debian and need to upgrade to 2.2 to use the replication features. I understand that I therefore need to compile Dovecot myself.
No. Just use the excellent packages from http://xi.rename-it.nl/debian/ See http://wiki2.dovecot.org/PrebuiltBinaries for more information.
It says "Don't use them in production" on the label of the repository, but if you set the installed packages on hold via dpkg/apt-get so you don't get suprised by sudden updates, this repository is safe to use.
I agree in principle, specifically if you just look at the last commits at http://hg.dovecot.org/dovecot-2.2/ so you know what your latest binaries contain, and it seems to make sense, then you can put the packages on hold, and test them given your particular configuration and demands. if it works, then .. it works.
If you want the proper debian way, just take the 2.2 package from debian's experiemental suite , refresh it to 2.2.6 and compile it. It's not all that hard to do.
The moment the included pigeonhole patch does no longer apply cleanly, simply respinning the package becomes a tad more difficult. If you know your way around the Debian packaging tools, this is of course no big problem.
All others might be better of with the packages from rename-it.nl, as those are based on the latest packages from Debian with all the matching patches applied.
Grüße, Sven.
-- Sigmentation fault. Core dumped.
participants (3)
-
Gedalya
-
Lucas Rothamel - Eye Catching Webdesign
-
Sven Hartge