[Dovecot] --with-PACKAGE is not recognized (dovecot 2.0.rc2)

Sven Kirmess sven.kirmess at kzone.ch
Sat Jul 10 18:10:23 EEST 2010


The build process/configure script does not recognize the
--with-PACKAGE option. Unfortunately I have no experience with
autoconfigure/automake but maybe someone on the list knows how to fix
this? I assume it should be an easy fix as most software recognizes
the --with-PACKAGE flag. :)

This is how I build dovecot:

LDFLAGS=-L/opt/openssl                                          \
CPPFLAGS=-I/opt/openssl                                         \
./configure --prefix=/opt/dovecot-2.0.rc2
--sysconfdir=/etc/opt/dovecot --localstatedir=/var/opt/dovecot
--datarootdir=/opt/dovecot-2.0.rc2 --docdir=/opt/dovecot-2.0.rc2/doc
--with-rundir=/var/opt/dovecot/run
--with-statedir=/var/opt/dovecot/state --with-PACKAGE=no
--with-ssl=openssl --with-ssldir=/etc/opt/dovecot;
                \
/usr/sfw/bin/gmake

And I get the following warning:
configure: WARNING: unrecognized options: --with-PACKAGE

Same for --without-PACKAGE:
configure: WARNING: unrecognized options: --without-PACKAGE

This results in dovecot installing in the following wrong directories:
/etc/opt/dovecot/dovecot
/opt/dovecot-2.0.rc2/include/dovecot
/opt/dovecot-2.0.rc2/lib/dovecot
/opt/dovecot-2.0.rc2/libexec/dovecot


The argument --with-PACKAGE=no should be usable to disable these
interemiate dovecot directories which are only useful if you install
all software in /usr/local.

Thanks,

Sven


$ find /opt/dovecot-2.0.rc2 /var/opt/dovecot/ /etc/opt/dovecot -type d
/opt/dovecot-2.0.rc2/man
/opt/dovecot-2.0.rc2/man/man1
/opt/dovecot-2.0.rc2/man/man7
/opt/dovecot-2.0.rc2/doc
/opt/dovecot-2.0.rc2/doc/wiki
/opt/dovecot-2.0.rc2/doc/example-config
/opt/dovecot-2.0.rc2/doc/example-config/conf.d
/opt/dovecot-2.0.rc2/include
/opt/dovecot-2.0.rc2/include/dovecot
/opt/dovecot-2.0.rc2/aclocal
/opt/dovecot-2.0.rc2/sbin
/opt/dovecot-2.0.rc2/lib
/opt/dovecot-2.0.rc2/lib/dovecot
/opt/dovecot-2.0.rc2/lib/dovecot/auth
/opt/dovecot-2.0.rc2/lib/dovecot/doveadm
/opt/dovecot-2.0.rc2/libexec
/opt/dovecot-2.0.rc2/libexec/dovecot
/opt/dovecot-2.0.rc2/bin
/var/opt/dovecot/
/var/opt/dovecot/run
/var/opt/dovecot/run/empty
/var/opt/dovecot/run/login
/var/opt/dovecot/state
/etc/opt/dovecot
/etc/opt/dovecot/dovecot
/etc/opt/dovecot/dovecot/private
/etc/opt/dovecot/dovecot/conf.d
/etc/opt/dovecot/dovecot/certs


More information about the dovecot mailing list