[Dovecot] Building the Antispam plugin fails
Hi! I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs repository. Unfortunately this repo does not provide a packaged version of the Antispam Plugin.
So I followed the steps outlined in the Dovecot Wiki [1]. But when running the command ./configure, I get stuck with the following error:
checking for dovecot-config in "/usr/local/lib/dovecot"... not found configure: configure: Use --with-dovecot=DIR to provide the path to the dovecot-config file. configure: error: dovecot-config not found
So I downloaded the dovecot-devel package and run the configure command again with the following command: ./configure --with-dovecot=/usr/include/dovecot but with the same result. I made sure the the directory "/usr/include/dovecot" does contain the Dovecot header files.
What can I do next? Do I really also have to install Dovecot from the sources only to get the Antispam Plugin working?
Thanks, Michael
On 10/29/2013 03:48 PM Michael Neurohr wrote:
… I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs repository. … … configure: Use --with-dovecot=DIR to provide the path to the dovecot-config file. configure: error: dovecot-config not found ^^^^^^^^^^^^^^
So I downloaded the dovecot-devel package and run the configure command again with the following command: ./configure --with-dovecot=/usr/include/dovecot but with the same result. I made sure the the directory "/usr/include/dovecot" does contain the Dovecot header files.
Yeah, dovecot-devel-2.2.5-….rpm installs some headers into /usr/include/dovecot. BUT: The error message says:
error: dovecot-config not found
The file dovecot-config is installed under /usr/lib/dovecot.
So use: ./configure --with-dovecot=/usr/lib/dovecot
HTH Pascal
The trapper recommends today: defaced.1330218@localdomain.org
Aaahh! I didn't realize, that dovecot-config is a file... Thanks for your help! Now everything is working :-)
Michael
On 29.10.2013 18:24, Pascal Volk wrote:
On 10/29/2013 03:48 PM Michael Neurohr wrote:
… I'm running Dovecot 2.2.5 on a CentOS 6.4 server from the ATRPMs repository. … … configure: Use --with-dovecot=DIR to provide the path to the dovecot-config file. configure: error: dovecot-config not found ^^^^^^^^^^^^^^
So I downloaded the dovecot-devel package and run the configure command again with the following command: ./configure --with-dovecot=/usr/include/dovecot but with the same result. I made sure the the directory "/usr/include/dovecot" does contain the Dovecot header files.
Yeah, dovecot-devel-2.2.5-….rpm installs some headers into /usr/include/dovecot. BUT: The error message says:
error: dovecot-config not found
The file dovecot-config is installed under /usr/lib/dovecot.
So use: ./configure --with-dovecot=/usr/lib/dovecot
HTH Pascal
participants (2)
-
Michael Neurohr
-
Pascal Volk