1 message in net.sourceforge.lists.courier-maildrop[maildropl] maildrop-1.3.8 rpm doesn'...
FromSent OnAttachments
J. Lewis MuirMay 2, 2002 6:08 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] maildrop-1.3.8 rpm doesn't build out of the boxActions...
From:J. Lewis Muir (mu@pobox.com)
Date:May 2, 2002 6:08:40 pm
List:net.sourceforge.lists.courier-maildrop

Machine info: RPM version 4.0, Mandrake 8.0, Linux 2.4.8, x86 hardware.

I run 'rpm -ta maildrop-1.3.8.tar.gz' as a normal user. After running for a second or two it exits with the following message:

configure: error: --enable-userdb requires --with-db Bad exit status from /var/tmp/rpm-tmp.79661 (%prep)

The option '--with-db' is missing where configure is invoked in the prep section of the maildrop.spec file. I added '--with-db=db' and the rpm builds fine.

But I don't know that this is the best solution as the build won't work if the build machine does not have the Berkely DB library. Maybe the problem is that the '--enable-userdb' option thinks it needs the '--with-db' option when perhaps gdbm or db support is compiled in by default? I'm just guessing this since there is a '--without-db' configure option.