PerKins Zhu

Le vent se lève,il faut tenter de vivre.

导航

debian 编译安装rtpproxy

Posted on 2023-10-08 14:19  PerKins.Zhu  阅读(134)  评论(0编辑  收藏  举报

安装依赖

apt-get install debhelper default-libmysqlclient-dev gperf  libavcodec-dev libavfilter-dev libavformat-dev  libavutil-dev libbencode-perl libcrypt-openssl-rsa-perl  libcrypt-rijndael-perl libhiredis-dev libio-multiplex-perl  libio-socket-inet6-perl libjson-glib-dev libdigest-crc-perl  libdigest-hmac-perl libnet-interface-perl libnet-interface-perl  libssl-dev libsystemd-dev libxmlrpc-core-c3-dev libcurl4-openssl-dev  libevent-dev libpcap0.8-dev markdown unzip nfs-common dkms libspandsp-dev  libiptc-dev libmosquitto-dev python3-websockets libwebsockets-dev

 

apt-get install libbcg729-dev

 

 通过在源码目录中执行 dpkg-checkbuilddeps 命令检查未安装的依赖项,手动 apt-get install xxx xxxx 全部安装上,直至无任何错误输出:

 

 

#在源码目录下面执行
#检查依赖 dpkg
-checkbuilddeps #编译 dpkg-buildpackage --no-sign #安装 cd ../ dpkg -i ngcp-rtpengine-daemon_*.deb ngcp-rtpengine-iptables_*.deb ngcp-rtpengine-kernel-dkms_*.deb

 

 

 

见: https://rtpengine.readthedocs.io/en/latest/compiling_and_installing.html

编译: 

源码中就有makefile,可以直接执行make编译

编译完成后,在daemon文件夹中就生成了rtpengine可执行程序。

 参考;

https://nickvsnetworking.com/rtpengine-installation-configuration/

 https://rtpengine.readthedocs.io/en/latest/compiling_and_installing.html

--end