[Dovecot] Install fails when libdir and libexecdir are the same directory
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I'm using Dovecot 1.2.9. I configured it like this:
% ./configure --prefix=/opt/rt --libdir=/opt/rt/lib
--libexecdir=/opt/rt/lib [other args...]
It compiled fine, but failed to install, because it tries to install a directory called <libdir>/dovecot/imap, and a file called <libexecdir>/dovecat/imap, which obviously doesn't work when libdir and libexecdir are the same directory:
gmake[5]: Entering directory /home/river/hp-pkg/mail/dovecot/work/dovecot-1.2.9/src/plugins/imap-acl' gmake[5]: Nothing to be done for
install-exec-am'.
test -z "/opt/rt/lib/dovecot/imap" || /opt/rt/bin/gmkdir -p "/home/river/hp-pkg/mail/dovecot/install/opt/rt/lib/dovecot/imap"
/opt/rt/bin/gmkdir: cannot create directory `/home/river/hp-pkg/mail/dovecot/install/opt/rt/lib/dovecot/imap': File exists
gmake[5]: *** [install-imap_moduleLTLIBRARIES] Error 1
As a workaround I used --libexecdir=/opt/rt/lib/dovecot/libexec, but perhaps one of the conflicting files could be moved or renamed. (On System Vish platforms, e.g. Solaris and HP-UX, 'libexec' isn't used -- files that other systems put into 'libexec' go into 'lib'.)
- river.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (HP-UX)
iEYEARECAAYFAks6OpgACgkQIXd7fCuc5vJ2IACfSXNKUbHi1r0mRWIvfTgl6ATk HMEAn1uAhwdFn+yQMAnAP/RrYx07wlIv =t1pG -----END PGP SIGNATURE-----
On Tue, 2009-12-29 at 17:21 +0000, River Tarnell wrote:
I'm using Dovecot 1.2.9. I configured it like this:
% ./configure --prefix=/opt/rt --libdir=/opt/rt/lib
--libexecdir=/opt/rt/lib [other args...]It compiled fine, but failed to install, because it tries to install a directory called <libdir>/dovecot/imap, and a file called <libexecdir>/dovecat/imap, which obviously doesn't work when libdir and libexecdir are the same directory:
Yeah. I'm not really planning on fixing this. I know Debian at least avoided this by using --with-moduledir=<libdir>/dovecot/modules.
participants (2)
-
River Tarnell
-
Timo Sirainen