[Dovecot] error while compiling dovecot 2.2.9
Luuk
dovecot at vosslamber.nl
Mon Nov 25 22:21:35 EET 2013
On 25-11-2013 20:38, Reindl Harald wrote:
>
> Am 25.11.2013 20:31, schrieb Luuk:
>> On 25-11-2013 20:04, Timo Sirainen wrote:
>>> On 25.11.2013, at 19.36, Luuk <dovecot at vosslamber.nl> wrote:
>>>
>>>> while doing 'sudo make install',
>>>> its complaining about the existance of ‘/usr/local/lib/dovecot/auth’
>>>
>>> Don’t use the same directory for libexecdir and moduledir.
>>
>> Configured with: ../configure --prefix=/usr
>
> i doubt that this would end in /usr/local/ at all
>
>> They seem to be different:
>> libexecdir='${exec_prefix}/lib'
>> moduledir='${exec_prefix}/lib/dovecot'
>
> normally you would have /usr/local/lib/dovecot and /usr/local/libexec/dovecot
> or for a x86_64 OS /usr/lib64/ like below
>
> [harry at rh:~]$ rpm -q --filesbypkg dovecot | grep dovecot/auth
> dovecot /usr/lib64/dovecot/auth
> dovecot /usr/lib64/dovecot/auth/libauthdb_imap.so
> dovecot /usr/lib64/dovecot/auth/libdriver_mysql.so
> dovecot /usr/libexec/dovecot/auth
>
>> i started with configure:
>> ./configure --with-sql=yes --with-mysql --with-sqlite
>
> ./configure --help
>
>
>
>
ok, i changed it to:
./configure --with-sql=yes --with-mysql --with-sqlite
--libexecdir=/usr/local/libexec/dovecot
--with-moduledir=/usr/local/lib/dovecot
and now 'make install' worked.
tomorrow i'll start with configuring... ;)
More information about the dovecot
mailing list