由于要试验一个视频会议的项目,所以需要server端用最新的Freeswitch来进行测试
1. 准备工作:
yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make ncurses-devel pkgconfig
yum install unixODBC-devel openssl-devel libogg-devel libvorbis-devel curl-devel \ libtiff-devel libjpeg-devel python-devel expat-devel zlib zlib-devel bzip2 which
2. 下载最新的Freeswitch安装包:
http://files.freeswitch.org/freeswitch-1.4.15.tar.gz
copy到/opt下面解压
3. 执行./configure
此时会报错: checking for sqlite3 >= 3.6.20... Package sqlite3 was not found in the pkg-config search path. Perhaps you should add the directory containing `sqlite3.pc' to the PKG_CONFIG_PATH environment variable No package 'sqlite3' found
configure: error: Library requirements (sqlite3 >= 3.6.20) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
看来是没有安装sqlite3的包
4. 安装sqlite3:
下载sqlite3安装配置文件: http://www.sqlite.org/2015/sqlite-autoconf-3080800.tar.gz
解压后./configure make make install
yum install sqlite-devel
[root@vtc-test1 sqlite-autoconf-3080800]# sqlite3 --version
CentOS 6 安装Freeswitch 1.4.15详细步骤

本文档详细介绍了在CentOS 6上安装最新版Freeswitch(1.4.15)的过程,包括所需的依赖安装、解决配置过程中遇到的问题,如sqlite3、libpcre、speex和libldns的安装,以及配置环境变量和设置代理来完成wget下载。
最低0.47元/天 解锁文章
2578

被折叠的 条评论
为什么被折叠?



