Ununtu 12.04下编译
依赖项:
a) 源码包: 登录官方网站下载resiprocate-1.8.6.tar.gz, resiprocate-contrib-1.8.6.tar.gz, 其中contrib为resiprocate依赖的第三方库;
b) 安装依赖外部库:
其中12.04 版本 BerkeleyDB C++版本已经变成5.xx了
$sudo apt-get install autoreconf libtool gawk g++ gperf libssl-dev libpopt-dev libpcre3-dev libdb5.1++-dev
配置编译选项
非tar包, 需要生成configure
$autoreconf --install
配置为编译采用静态库方式
$./configure --enable-static=yes --enable-shared=no
编译:
多线程编译
$make -j4
参考资料: Quick_Subversion_Checkout_and_Compilation_HOWTO
转载于:https://blog.51cto.com/fenng/1207949