readme.osx
来自「一个C语言写的快速贝叶斯垃圾邮件过滤工具」· OSX 代码 · 共 35 行
OSX
35 行
Compiling Bogofilter on OS-X=============================Bogofilter has been tested and is used on OS-X.There are two prerequisites for compiling Bogofilter on OS-X.1. Berkeley DB2. xlc or gcc (automatically detected if in the search path)Berkeley DB is available from Sleepycat Software, at<http://www.sleepycat.com/>. Users of the "Fink" package manager caninstall it using 'fink install db42 db42-bin db42-shlibs'. (They canoptionally add db42-doc if you want the Berkeley DB documentation setinstalled as well.)You must pass the 'configure' script information on where to find theBerkeley DB headers and libraries, like this (for Fink): ./configure CPPFLAGS=-I/sw/include/db4 LDFLAGS=-L/sw/lib LIBS=-ldb-4.2(the --with-libdb-prefix option does not work because it does notsupport different prefixes for libraries and headers)On the HP Gnome Desktop, try: ./configure --with-libdb-prefix=/opt/gnomeBogofilter can be built with either gcc or xlc. The configure scriptchecks gcc first, then for xlc, then for cc, and uses the first that isfound. To override the default choice, you can add CC=gcc34 (optionallywith full path) to the configure command line.Read the INSTALL file for more information and additional options forthe 'configure' script.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?