[Dovecot] PIGEON HOLE - am I being stupid?
Hi,
I'm trying to compile dovecot-1.2-sieve-0.1.15 on a CENTOS 5 box.
Using: ./configure --with-dovecot=/usr/local/etc and with:
ls -Al /usr/local/etc/ total 100 -rw-r--r-- 1 root root 49576 Apr 6 12:25 dovecot.conf -rw-r--r-- 1 root root 410 Apr 6 12:25 dovecot-db-example.conf -rw-r--r-- 1 root root 782 Apr 6 12:25 dovecot-dict-sql-example.conf -rw-r--r-- 1 root root 4986 Apr 6 12:25 dovecot-ldap-example.conf -rw-r--r-- 1 root root 5097 Apr 6 12:25 dovecot-sql-example.conf
But it bails with:
appending configuration tag "F77" to libtool
dovecot-config not found from /usr/local/etc, use --with-dovecot=PATH to give path to compiled Dovecot sources or to a directory with the installed dovecot-config file. configure: error: dovecot-config not found
What am I missing here?
corpus.defero wrote:
Hi,
I'm trying to compile dovecot-1.2-sieve-0.1.15 on a CENTOS 5 box.
Using: ./configure --with-dovecot=/usr/local/etc
<snip>
dovecot-config not found from /usr/local/etc, use --with-dovecot=PATH to give path to compiled Dovecot sources or to a directory with the installed dovecot-config file. configure: error: dovecot-config not found
What am I missing here?
dovecot-config is not your dovecot configuration file, it's a special file made by dovecot when installing. Given the place of your etc files, it should be in /usr/local/lib/dovecot/dovecot-config
You are missing the fact that the dovecot-config file is not the same as your dovecot configuration directory. Check out your /usr/local/lib/dovecot directory (or where ever your lib-directory is located), you will find your dovecot-config file there.
corpus.defero wrote:
Hi,
I'm trying to compile dovecot-1.2-sieve-0.1.15 on a CENTOS 5 box.
Using: ./configure --with-dovecot=/usr/local/etc and with:
ls -Al /usr/local/etc/ total 100 -rw-r--r-- 1 root root 49576 Apr 6 12:25 dovecot.conf -rw-r--r-- 1 root root 410 Apr 6 12:25 dovecot-db-example.conf -rw-r--r-- 1 root root 782 Apr 6 12:25 dovecot-dict-sql-example.conf -rw-r--r-- 1 root root 4986 Apr 6 12:25 dovecot-ldap-example.conf -rw-r--r-- 1 root root 5097 Apr 6 12:25 dovecot-sql-example.conf
But it bails with:
appending configuration tag "F77" to libtool
dovecot-config not found from /usr/local/etc, use --with-dovecot=PATH to give path to compiled Dovecot sources or to a directory with the installed dovecot-config file. configure: error: dovecot-config not found
What am I missing here?
On Tue, 2010-04-06 at 14:18 +0200, Erik Logtenberg wrote:
You are missing the fact that the dovecot-config file is not the same as your dovecot configuration directory. The documentation is pretty lacking here - clearly it's a common issue to confuse the two? Perhaps an update to the documentation?
Check out your /usr/local/lib/dovecot directory (or where ever your lib-directory is located), you will find your dovecot-config file there.
Nope. The only place I can find that file is in the original source tarball directory:
/usr/src/dovecot-1.2.11/dovecot-config
There is no other version on the system. However running this: ./configure --with-dovecot=/usr/src/dovecot-1.2.11/
Seems to have been successful. Thank you.
participants (3)
-
corpus.defero
-
Erik Logtenberg
-
Renaud Allard