CENTOS 6.5安装FREESWITCH 1.5小记

来源:互联网 发布:淘宝消费排名查询系统 编辑:程序博客网 时间:2024/05/20 11:49

转载自:http://shelu.net/install-freeswitch-1-5-on-centos-6-5/


Windows下的Freeswitch没有VP8编码,源码里头也没有相应的工程,于是最后决定还是搞台单独的linux服务器。

系统CentOS 6.5 64位,运维的同事装的,应该是个标准版,没有装那些开发包。

Freeswitch的安装过程参考官网wiki,下载的就是git里头最新的版本。

安装过程中遇到一个sqlite的错误。

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.

试了一下:[root@localhost freeswitch]# sqlite3 
SQLite version 3.6.20 
Enter “.help” for instructions

想想应该是少开发包了:[root@localhost freeswitch]# yum install sqlite-devel

后边碰到缺libcurl也照样解决

[root@localhost freeswitch]# yum install libcurl-devel 

后面又缺了libpcre:

[root@localhost freeswitch]# yum install pcre 
[root@localhost freeswitch]# yum install pcre-devel

speex :

[root@localhost freeswitch]# yum install speex 
[root@localhost freeswitch]# yum install speex-devel

最后报了一个mod_xml_rpc.c的错,说参数个数不符,这个就有点麻烦了,也不知道是哪里不匹配,看看这模块似乎也暂时用不上,直接注释掉就可以了。

服务器有公网IP,而且只有一块网卡,所以直接启动就可以了。记得在防火墙里头打开端口,或者直接关掉防火墙(不建议)。


0 0
原创粉丝点击