Lucas Rothamel - Eye Catching Webdesign
2013-Oct-20 15:27 UTC
[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 at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4282 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20131020/18c5f5c8/attachment-0001.bin>
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 at 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.