Sven Kirmess
2010-Jul-10 15:10 UTC
[Dovecot] --with-PACKAGE is not recognized (dovecot 2.0.rc2)
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
Timo Sirainen
2010-Jul-10 15:17 UTC
[Dovecot] --with-PACKAGE is not recognized (dovecot 2.0.rc2)
On 10.7.2010, at 16.10, Sven Kirmess wrote:> 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. :)I think the --with-PACKAGE is simply a generic help message that you can use --with-stuff and --without-stuff in that way.> 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.I find it unlikely that the option for that is called --with-PACKAGE.. Name some software package where it does that?