- 论坛徽章:
- 0
|
文章摘抄自
http://www.sfr-fresh.com/unix/misc/bogofilter-1.1.7.tar.gz:a/bogofilter-1.1.7/doc/bogofilter-faq.html#db-private
Why am I getting "Berkeley DB library configured to support only DB_PRIVATE environments" or
"Berkeley DB library configured to support only private environments"?
Some distributors (for instance the Fedora Project) package Berkeley DB with support for POSIX threading and hence POSIX mutexes, but your system does not support POSIX mutexes (whether it does, depends on the kernel version and exact processor type).
To work around this problem:
download, compile and install
Berkeley DB
on your own and the reconfigure bogofilter:
cd build_unix
../dist/configure --enable-cxx
make
make install
recompile and install bogofilter:
./configure --with-libdb-prefix=/usr/local/BerkeleyDB.4.3 (replace your Berkeley DB version number)
make && make check
make install (if space is a premium, use make install-strip)
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/72296/showart_1130253.html |
|