安装 libxml2 之类的...
mkdir build-release
cd build-release
brew install python
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
pip install virtualenv
virtualenv .
. bin/activate
easy_install sphinx
ln -s ../makerelease-osx.mk Makefile
export NON_RELEASE=1
make
## autopoint not found
export PATH="/usr/local/opt/gettext/bin:$PATH"
## aclocal not found
brew install automake
## error: Libtool library used but 'LIBTOOL' is undefined
brew install libtool
glibtoolize
然后继续 make
@file:OptionHandlerFactory.cc
441 OptionHandler* op(new NumberOptionHandler(PREF_MAX_CONNECTION_PER_SERVER,
442 TEXT_MAX_CONNECTION_PER_SERVER,
443 // "1", 1, 16, 'x'));
444 "1", 1, 256, 'x'));
505 // PREF_MIN_SPLIT_SIZE, TEXT_MIN_SPLIT_SIZE, "20M", 1_m, 1_g, 'k'));
506 PREF_MIN_SPLIT_SIZE, TEXT_MIN_SPLIT_SIZE, "20M", 256_k, 1_g, 'k'));