[Dovecot] upgrade from 1.0.5 to 2.1.7

Andreas Meyer anmeyer at anup.de
Fri Jun 8 20:31:02 EEST 2012


Reindl Harald <h.reindl at thelounge.net> wrote:

> > I wonder ./configure, make and make install went through, but for some
> > reason the /usr/lib/dovecot/modules directory was not updated. Could
> > it be because there was the old version 1.0.5 still running while
> > installing the new one?
> 
> ouch - why are you doing such rough installs instead taking some time
> to learn how to build packages for your OS?
> 
> the benefit of package-systems like rpm/deb is that obsolete files
> are removed on updates and you have clean installs over many years
> and major upgrades of any software
> 
> as example for Fedora&RHEL it is quite easy to setup rpmbuild, install a
> recent src.rpm and replace rebuild new versions for older releases
> 
> the additional benefit is that you can do this on  a dedicated virtual
> machine with devel-packages, GCC and so on which is all not needed on
> the production systems AND you can easily use this packages on
> testing machines followed by a crontrolled rollout
> 
> even for software with a handful of scripts -> on my servers and
> workstations NEVER get any software installed without a package
> and there are only two exceptions: VMware Workstation and ZendStudio

;-) I never ever built a rpm using sources since years. I always
build and install from the sources.

So ok, made a fresh make install and found out that the directory
/usr/lib/dovecot/modules and its contents were not created after
deleting manually the old /usr/lib/dovecot directory.

Got this snipped from the make install output:

make[4]: Leaving directory `/home/mail1/dovecot-2.1.7/src/plugins/imap-stats'
make[3]: Leaving directory `/home/mail1/dovecot-2.1.7/src/plugins/imap-stats'
Making install in trash
make[3]: Entering directory `/home/mail1/dovecot-2.1.7/src/plugins/trash'
make[4]: Entering directory `/home/mail1/dovecot-2.1.7/src/plugins/trash'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
test -z "/usr/lib/dovecot" || /bin/mkdir -p "/usr/lib/dovecot"
 /bin/sh ../../../libtool   --mode=install /usr/bin/install -c   lib11_trash_plugin.la '/usr/lib/dovecot'
libtool: install: warning: relinking `lib11_trash_plugin.la'
libtool: install: (cd /home/mail1/dovecot-2.1.7/src/plugins/trash; /bin/sh /home/mail1/dovecot-2.1.7/libtool  --tag CC --mode=relink gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -module -avoid-version -o lib11_trash_plugin.la -rpath /usr/lib/dovecot trash-plugin.lo ../quota/lib10_quota_plugin.la -lrt )

*** Warning: Linking the shared library lib11_trash_plugin.la against the loadable module
*** lib10_quota_plugin.so is not portable!
libtool: relink: gcc -shared  -fPIC -DPIC  .libs/trash-plugin.o   -Wl,-rpath -Wl,/usr/lib/dovecot -L/usr/lib/dovecot -l10_quota_plugin -lrt  -O2   -Wl,-soname -Wl,lib11_trash_plugin.so -o .libs/lib11_trash_plugin.so
libtool: install: /usr/bin/install -c .libs/lib11_trash_plugin.soT /usr/lib/dovecot/lib11_trash_plugin.so
libtool: install: /usr/bin/install -c .libs/lib11_trash_plugin.lai /usr/lib/dovecot/lib11_trash_plugin.la
libtool: install: /usr/bin/install -c .libs/lib11_trash_plugin.a /usr/lib/dovecot/lib11_trash_plugin.a
libtool: install: chmod 644 /usr/lib/dovecot/lib11_trash_plugin.a
libtool: install: ranlib /usr/lib/dovecot/lib11_trash_plugin.a
libtool: finish: PATH="/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/sbin" ldconfig -n /usr/lib/dovecot

  Andreas



More information about the dovecot mailing list