DB_PRIVATE

James Burns burns at attitudejim.com
Sun Dec 5 02:44:58 CET 2004


That did the trick.
I had 2 dummy errors. One while building and one while testing.
I had started this before I got your post.
I had,

/usr/local/BerkeleyDB.4.3/lib
Not.
/usr/local/BerkeleyDB.4.3

Then I had forgot to remove the old rpm version.
The second test worked like a charm.

X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=0.93.2

That you very much for the help. And sorry about the email mix-up.

-jim

Matthias Andree wrote:
> James Burns <burns at attitudejim.com> writes:
> 
> 
>>Fedora 2
>>I built DB-4.3.21.
>>
>>../dist/configure
>>make
>>make install
>>
>>No flags.
>>No errors on the build or install.
>>
>>
>>I installed bogofilter from the bogofilter-0.93.2-1.i586.rpm.
>>No errors here either.
> 
> 
> First of all, this means that it will use Berkeley DB 4.2 no matter what
> you do.
> 
> 
>>[root at dns1 spam]# uname -a
>>Linux dns1.attitudejim.com 2.6.9-1.6_FC2 #1 Thu Nov 18 22:02:27 EST 2004 
>>i586 i586 i386 GNU/Linux
> 
> 
> While I cannot explain this (and I'm not sure if Fedora or Red Hat guys
> have actually read or patched their db4 source code), it appears as
> though your computer wasn't supporting NPTL (native POSIX threading
> library).
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933 gives that as
> reason why db4 doesn't work on some kernel/processor combinations.
> Fedora and Red Hat insist on using POSIX-threads and -mutexes.
> 
> Bug #91933 appears to assume there's a run-time switch, although I don't
> see where this would be in the Berkeley DB source code.
> 
> Anyways, as you've already got BerkeleyDB 4.3 installed, the solution
> is: remove the binary bogofilter package, i. e. rpm -e bogofilter, then
> download the bogofilter source from
> http://prdownloads.sourceforge.net/bogofilter/bogofilter-0.93.2.tar.bz2?download
> 
> unpack it then recompile and install bogofilter like this:
> 
> (as unprivileged user)
> ./configure --with-libdb-prefix=/usr/local/BerkeleyDB.4.3
> make
> make check
> 
> (obtain root privileges, sudo, su, or login as root user)
> make install-strip || make install
> 
> HTH,
> 



More information about the Bogofilter mailing list