由于要试验一个视频会议的项目,所以需要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