1 Star 0 Fork 0

kevin.guo/resiprocate_boost.asio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
INSTALL 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
gxp 提交于 2014-08-31 23:15 . 原版:resiprocate-1.9.7
a) If using source code from the repository (not a tarball download),
you must bootstrap the source tree:
autoreconf --install
This must be done:
- after checking out the code for the first time
- after changing configure.ac or any Makefile.am file
NOTE: the bootstrap process only works reliably when using the same
(or a very similar) version of autotools as the officially
tested reSIProcate releases. The official releases are
bootstrapped using autotools on a Debian 6.0 (squeeze) system.
b) Run configure:
e.g. on a Debian system:
./configure --with-ssl --with-mysql --with-c-ares \
CXXFLAGS="-DRESIP_FIXED_POINT"
NOTE: some things (e.g. reTurnServer) will ONLY build if you
specify --with-ssl to link against SSL libraries
A more complete example, with tfm:
./configure \
--with-ssl --with-mysql --with-radius --with-tfm \
--enable-ipv6 \
CXXFLAGS="-I`pwd`/contrib/Netxx-0.3.2/include" \
LDFLAGS="-L`pwd`/contrib/Netxx-0.3.2/src"
(hint: if it fails to link against libNetxx.so, create a symlink, or
delete libNetxx.so and it should link against libNetxx.a)
OR (using contrib/ares)
./configure --with-ssl --with-mysql --enable-ipv6 --with-popt"
c) Build everything:
make
or to build just one thing:
make -C rutil
and if you have multiple CPUs/CPU-cores/hyper-threading, you can build
faster by telling make to use them in parallel, e.g.:
make -j 12
d) Test it, e.g. to test rutil:
make -C rutil check
e) Install somewhere:
mkdir /tmp/my-resip && make DESTDIR=/tmp/my-resip install
Supported Systems
-----------------
Supported Platforms: (to add new platform support see build/Makefile.osarch)
FreeBSD
Linux
QNX
SunOS
Mac
cygwin
Supported toolchains: (to add new toolchain support see build/Makefile.tools)
gnu (g++)
Intel (icc)
ARM cross-compiler (arm-linux-g++)
Sunpro (CC)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/gxp/resiprocate_boost.asio.git
git@gitee.com:gxp/resiprocate_boost.asio.git
gxp
resiprocate_boost.asio
resiprocate_boost.asio
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385