configure: configuring in makedat configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-devel' '--disable-tempdir' '--enable-syslog=1' '--enable-use-flock=1' '--enable-maildirquota' '--enable-use-dotlock=1' '--enable-restrict-trusted=1' '--enable-trusted-users=root mail daemon postmaster qmaild mmdf vmail' '--with-default-maildrop=./.maildir/' '--enable-sendmail=/usr/sbin/sendmail' '--disable-maildropmysql' '--enable-maildropldap' '--with-ldapconfig=/etc/maildrop/maildropldap.cf' '--without-db' 'CC=gcc' 'CFLAGS=-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse' 'host_alias=i686-pc-linux-gnu' --with-userdb=/etc/userdb --with-userdbtmpdir=/etc '--with-makedatprog=${exec_prefix}/bin/makedatprog' --cache-file=/dev/null --srcdir=. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for perl5... no checking for perl... /usr/bin/perl checking for cat... /bin/cat configure: error: Invalid --with-db option configure: error: /bin/sh './configure' failed for makedat !!! ERROR: mail-filter/maildrop-1.7.0 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed [ebuild U ] mail-filter/maildrop-1.7.0 [1.5.3-r1] -berkdb -debug -gdbm +ldap -mysql 0 kB Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 i686 Pentium III (Coppermine) Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://ftp.lug.ro/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl adns apache2 berkdb crypt curl fam flash gd gif gpm imap innodb java javamail jpeg ldap libg++ libwww maildir mcal memlimit ncurses nls noauthcram nptl oss pam pdflib pg-hier pg-intdatetime pg-vacuumdelay pic png python readline samba slang slp spell sse ssl tcpd tiff truetype x86 xml xml2 zlib"
This one should be reported upstream, as it is impossible to succesfully configure maildrop 1.7.0 not to use a db, I suspect due to faulty 'configure.in' (and subsequently 'configure') script.
Please don't report upstream yet. There is an option to configure --without-db. The ebuild need to take a look at.
Andrej, you are right. This is an upstream config bug. I can't `./configure --without-db`. Same error.
Exactly - I even tried hacking makedat/configure script in hope to make this work with patch until upstream fixes it, but to no avail. I'll try asking on courier-maildrop mailinglist and then report here.
No response from courier-maildrop mailinglist. :( I'll try contacting the person mentioned in AUTHORS file directly.
The guy's mta is hostile enough not to let any mail through if hostname supplied by HELO doesn't match connecting IP. I'm not in mood to find a way around this, will not try anymore. We're in dead end for this one.
Bumped to maildrop-1.7.0-r1. Reopen if the issue is noe fixed.
I just added ebuild for 1.7.0.20040907 to portage. This version fixes the configure script, so our workaround is no longer needed.