[Dovecot] Beta3 bug - non-first make install's fail

Casey Allen Shobe lists at seattleserver.com
Thu Feb 23 14:59:41 EET 2006


make[4]: Entering directory `/home/root/dovecot-1.0.beta3/src/plugins/convert'
mkdir -p -- /usr/lib/dovecot/imap /usr/lib/dovecot/pop3 /usr/lib/dovecot/lda
for d in imap pop3 lda; do \
  rm -f /usr/lib/dovecot/$d/lib02_trash_plugin.so; \
  ln -s ../lib01_convert_plugin.so /usr/lib/dovecot/$d; \
done
ln: `/usr/lib/dovecot/imap/lib01_convert_plugin.so': File exists
ln: `/usr/lib/dovecot/pop3/lib01_convert_plugin.so': File exists
ln: `/usr/lib/dovecot/lda/lib01_convert_plugin.so': File exists
make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory `/home/root/dovecot-1.0.beta3/src/plugins/convert'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/root/dovecot-1.0.beta3/src/plugins/convert'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/root/dovecot-1.0.beta3/src/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/root/dovecot-1.0.beta3/src'
make: *** [install-recursive] Error 1

Workaround:  make uninstall before make install.
Fix:  Use ln -snf instead of ln -s.

-- 
Casey Allen Shobe | cshobe at seattleserver.com | 206-381-2800
SeattleServer.com, Inc. | http://www.seattleserver.com


More information about the dovecot mailing list