安装的详细选项,参见此。
git clone git://github.com/wiredtiger/wiredtiger.git
cd wiredtiger
yum -y install install autoconf automake libtool
sh autogen.sh
./configure && make -j 8
make 之后,在 .libs 目录中包含静态库和动态库,以及 a standalone utility program named wt。
可以通过make install 和 make uninstall 进行安装和卸载,库默认在/usr/local/lib,wt在/usr/local/bin/ 中。
# To rebuild from scratch, discard any previous configuration by cleaning out the build area:
make distclean
# To see additional configuration options, run :
# (WiredTiger uses autoconf automake, and libtool to create the configure script and Makefiles.
# The standard options for those tools can be specified when configuring and building WiredTiger.)
./configure --help