[Dovecot] Make install error

kengheng kengheng at mysql.cc
Wed Apr 24 08:27:30 EEST 2013


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'
libtool: install: /usr/bin/install -c .libs/auth 
/usr/local/dovecot/lib/dovecot/auth
libtool: install: /usr/bin/install -c .libs/checkpassword-reply 
/usr/local/dovecot/lib/dovecot/checkpassword-reply
test -z "/usr/local/dovecot/lib/dovecot/auth" || /usr/bin/mkdir -p 
"/usr/local/dovecot/lib/dovecot/auth"
/usr/bin/mkdir: cannot create directory 
‘/usr/local/dovecot/lib/dovecot/auth’: File exists
make[3]: *** [install-auth_moduleLTLIBRARIES] Error 1
make[3]: Leaving directory `/usr/local/src/dovecot-2.2.1/src/auth'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/local/src/dovecot-2.2.1/src/auth'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/dovecot-2.2.1/src'
make: *** [install-recursive] Error 1




On 4/23/13 6:30 PM, Timo Sirainen wrote:
> On Fri, 2013-04-19 at 11:50 +0800, kengheng wrote:
>> Hi, I'm recompiling dovecot 2.2.0/2.2.1 with error below during make
>> install:
>>
>> test -z "/usr/local/dovecot/lib/dovecot/auth" || /usr/bin/mkdir -p
>> "/usr/local/dovecot/lib/dovecot/auth"
>> /usr/bin/mkdir: cannot create directory
>> ‘/usr/local/dovecot/lib/dovecot/auth’: File exists
> This file shouldn't exist.
>
>> The target Svr OS: OpenSuse 12.2 x86 and installed success for
>> qmail/vpopmail. The configuration for dovecot as below:
>> ./configure \
>> --prefix=/usr/local/dovecot \
>> --with-vpopmail \
>> --with-docs \
>> --with-ssl \
>> --without-shadow \
>> --without-pam \
>> --without-ldap \
>> --without-pgsql \
>> --without-sql \
>> --without-mysql \
>> --without-sqlite
> I think there's an older differently installed Dovecot in there. rm
> -rf /usr/local/dovecot/lib and try make install again.
>
>
>
>



More information about the dovecot mailing list