当前位置: 首页 > Linux

FreeSwitch部分模块的安装

时间:2023-04-06 07:06:59 Linux

FreeSwitch视频支持需要特殊安装一些依赖项和安装顺序问题。为了方便起见,这里是安装libyuvlibvpxopusmod_av和其他模块的代码列表。环境:CentOS6.x64FreeSwitch1.6.20URL=file.qzlink.comcd/usr/local/src/freeswitch/libsrm-rflibyuvwgethttp://$URL/freeswitch/libyuv.zipunziplibyuv.zipcdlibyuvmake-flinux.mkCXXFLAGS="-fPIC-O2-fomit-frame-pointer-Iinclude/"makeinstallies|cp/usr/lib/pkgconfig/libyuv.pc/usr/lib64/pkgconfig/yes|cp/usr/lib/libyuv.so/usr/lib64/cd/usr/local/src/freeswitch/libsrm-rflibvpxwgethttp://$URL/freeswitch/libvpx.zipunziplibvpx.zipcdlibvpx./configure--enable-pic--disable-static--enable-sharedmakemakeinstallyes|cp/usr/local/lib/pkgconfig/vpx.pc/usr/lib64/pkgconfig/cd/usr/local/src/freeswitch/libsrm-rfopuswgethttp://$URL/freeswitch/opus.zipunzipopus.zipcdopus./autogen.sh./configuremakemakeinstallyes|cp/usr/local/lib/pkgconfig/opus.pc/usr/lib64/pkgconfigcd/usr/local/src/freeswitch/libsrm-rflibpngwgethttp://$URL/freeswitch/libpng.zipunziplibpng.zipcdlibpng./configuremakemakeinstallyes|cp/usr/local/lib/pkgconfig/libpng*/usr/lib64/pkgconfig/cd/usr/local/src/freeswitch/libsrm-rflibsndfilewgethttp://$URL/freeswitch/libsndfile-1.0.27.tar.gztarzxvflibsndfile-1.0.27.tar.gzcdlibsndfile-1.0.27./configuremakemakeinstallyes|cp/usr/local/lib/pkgconfig/sndfile.pc/usr/lib64/pkgconfigcd..rm-rfzxvflibav-11.8.tar.gzwgethttp://$URL/highswitch_v2/x264-snapshot-20170226-2245-stable.tar.bz2tar-jxvfx264-snapshot-20170226-2245-stable.tar.bz2rm-rfx264-snapshot-20170226-2245-stable.tar.bz2cdx264-snapshot-20170226-2245-stable./configure--enable-shared--enable-static--disable-openclmakemakeinstallyes|cp/usr/local/lib/pkgconfig/x2*/usr/lib64/pkgconfigcd..yes|p/usr/local/lib/libx*/usr/lib64/cd..rm-rfzxvflibav-11.8.tar.gzwgethttp://$URL/highswitch_v2/libav-11.8.tar.gztarzxvflibav-11.8.tar.gzrm-rflibav-11.8.tar.gzcdlibav-11.8./configure--enable-shared--enable-libx264--enable-gpl--extra-cflags=-fPICmakemakeinstallyes|cp/usr/local/lib/pkgconfig/*.pc/usr/lib64/pkgconfig/yes|cp-f/usr/local/lib/*/usr/lib64/cd..rm-rflive.2017.01.26.tar.gzwgethttp://$URL/highswitch_v2/live.2017.01.26.tar.gztarzxvflive.2017.01.26.tar.gzrm-rflive.2017.01.26.tar.gzcdlive./genMakefileslinux-64bitmakemakeinstallcd..rm-rfvlc-2.2.4.tar.xzwgethttp://$URL/highswitch_v2/vlc-2.2.4.tar.xztarxvfvlc-2.2.4.tar.xzrm-rfvlc-2.2.4.tar.xzcdvlc-2.2.4sed-i's#LIVE555_PREFIX-"/usr"#LIVE555_PREFIX-"/usr/local"#g'configure./configure--enable-run-as-root--enable-realrtsp--disable-mad--disable-a52--disable-jpeg--enable-live555makemakeinstallyes|cp/usr/local/lib/pkgconfig/libvlc.pc/usr/lib64/pkgconfig/cd..rm-rflibshout-2.2.2.tar.gzwgethttp://$URL/highswitch_v2/libshout-2.2.2.tar.gztarzxvflibshout-2.2.2.tar.gzrm-rflibshout-2.2.2.tar.gzcdlibshout-2.2.2./configuremakemakeinstallcd..rm-rfmpg123-1.23.8.tar.bz2wgethttp://$URL/highswitch_v2/mpg123-1.23.8.tar.bz2tarjxvfmpg123-1.23.8.tar.bz2rm-rfmpg123-1.23.8.tar.bz2cdmpg123-1.23.8./configuremakemakeinstallcd..rm-rflame-3.98.4.tar.gzwgethttp://$URL/highswitch_v2/lame-3.98.4.tar.gztarzxvflame-3.98.4.tar.gzrm-rflame-3.98.4.tar.gzcdlame-3.98.4./configuremakelinuxmakeinstall文档:http://zengqf.gitee.io/ifrees...