[Dovecot] Make install error

kengheng kengheng at mysql.cc
Tue Jun 4 12:55:18 EEST 2013


I've success installed it with a workaround:

1) after error, create a folder /usr/local/dovecot/lib/dovecot/auth
2) make install again, and it will install the file auth at 
/usr/local/dovecot/lib/dovecot/auth

On 5/17/13 7:12 PM, Ben Morrow wrote:
> At  5PM +0800 on 15/05/13 you (kengheng) wrote:
>> On 4/24/13 11:50 PM, Ben Morrow wrote:
>>> At  1PM +0800 on 24/04/13 you (kengheng) wrote:
>>>> Hi, I tried remove and make install, same err happended. I noticed from
>>>> the log below, it first generate the
>>>> "/usr/local/dovecot/lib/dovecot/auth" with checkpassword-reply, and it
>>>> is success, the coming generation directory for auth at
>>>> "/usr/local/dovecot/lib/dovecot/", it is weird that the make install
>>>> generation for file auth and directory auth at same path. It is causing
>>>> the issues.
>>>>
>>>> make[3]: Entering directory `/usr/local/src/dovecot-2.2.1/src/auth'
>>>> test -z "/usr/local/dovecot/lib/dovecot" || /usr/bin/mkdir -p
>>>> "/usr/local/dovecot/lib/dovecot"
>>>>      /bin/sh ../../libtool   --mode=install /usr/bin/install -c auth
>>>> checkpassword-reply '/usr/local/dovecot/lib/dovecot'
>>> These files should be installed under libexec; probably
>>> /usr/local/dovecot/libexec/dovecot, though I'm not sure how autoconf
>>> chooses the libexec directory when you're using an explicit prefix. What
>>> do the following give you (in the top-level Dovecot source dir)?
>>>
>>>       grep ^libexecdir config.log
>>>       grep ^exec_prefix config.log
>>>       grep ^prefix config.log
>> grep ^libexecdir config.log
>> libexecdir='${exec_prefix}/lib'
>>
>> grep ^exec_prefix config.log
>> exec_prefix='${prefix}'
>>
>> grep ^prefix config.log
>> prefix='/usr/local/dovecot'
> That's weird, and wrong. Also, I can't reproduce it; if I run
>
>      ./configure --prefix=/usr/local/dovecot
>      grep ^libexec config.log
>
> in the 2.2.1 tarball I get
>
>      libexecdir='${exec_prefix}/libexec'
>
> as I would have expected. Are you sure you didn't pass a --libexecdir
> argument to configure?
>
> Ben
>
>
>



More information about the dovecot mailing list