首页 技术 正文
技术 2022年11月21日
0 收藏 627 点赞 4,974 浏览 3073 个字

系统:Centos 6.4 64位;

FreeSWITCH版本:1.5

具体的安装过程参考FreeSWITCH 官网wiki (也可以参考我的博客《Centos6安装FreeSWITCH》)

从FreeSWITCH 安装过程./configure 时遇到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]# yum install sqlite-devel

[root@localhost freeswitch]#./configure

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

[root@localhost freeswitch]#./configure

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

[root@localhost freeswitch]#./configure

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

[root@localhost freeswitch]#./configure

checking for libldns >= 1.6.6… checking for ldns_str2rdf_a in -lldns… no
configure: error: You need to either install libldns-dev or disable mod_enum in modules.conf #

按提示没有找到libldns-dev 包,所以我选择disable mod_enum,做法如下:

[root@localhost freeswitch]#vi modules.conf

#applications/mod_enum

[root@localhost freeswitch]#./configure

configure: error: You need to either install libedit-dev (>= 2.11) or configure with –disable-core-libedit-support

[root@localhost freeswitch]#yum search libedit-dev

=============== N/S Matched: libedit-dev ========================
libedit-devel.i686 : Development files for libedit
libedit-devel.x86_64 : Development files for libedit

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

[root@localhost freeswitch]#./configure

至此,freeSWITCH的配置已经完成。

然后make并安装声音文件,过程如下:

[root@localhost freeswitch]# make

[root@localhost freeswitch]# make all install cd-sounds-install cd-moh-install

+———- FreeSWITCH Build Complete ———-+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+ +
+ While you’re waiting, register for ClueCon! +
+ http://www.cluecon.com +
+ +
+———————————————–+

.=======================================================================================================.
| ____ _ ____ |
| / ___| |_ _ ___ / ___|___ _ __ |
| | | | | | | |/ _ \ | / _ \| ‘_ \ |
| | |___| | |_| | __/ |__| (_) | | | | |
| \____|_|\__,_|\___|\____\___/|_| |_| |
| |
| _____ _ _ ____ __ |
| |_ _|__| | ___ _ __ | |__ ___ _ __ _ _ / ___|___ _ __ / _| ___ _ __ ___ _ __ ___ ___ |
| | |/ _ \ |/ _ \ ‘_ \| ‘_ \ / _ \| ‘_ \| | | | | | / _ \| ‘_ \| |_ / _ \ ‘__/ _ \ ‘_ \ / __/ _ \ |
| | | __/ | __/ |_) | | | | (_) | | | | |_| | | |__| (_) | | | | _| __/ | | __/ | | | (_| __/ |
| |_|\___|_|\___| .__/|_| |_|\___/|_| |_|\__, | \____\___/|_| |_|_| \___|_| \___|_| |_|\___\___| |
| |_| |___/ |
| _____ _ _ |
| | ____|_ _____ _ __ _ _ / \ _ _ __ _ _ _ ___| |_ |
| | _| \ \ / / _ \ ‘__| | | | / _ \| | | |/ _` | | | / __| __| |
| | |___ \ V / __/ | | |_| | / ___ \ |_| | (_| | |_| \__ \ |_ |
| |_____| \_/ \___|_| \__, | /_/ \_\__,_|\__, |\__,_|___/\__| |
| |___/ |___/ |
| ____ _ ____ |
| __ ____ ____ __ / ___| |_ _ ___ / ___|___ _ __ ___ ___ _ __ ___ |
| \ \ /\ / /\ \ /\ / /\ \ /\ / / | | | | | | |/ _ \ | / _ \| ‘_ \ / __/ _ \| ‘_ ` _ \ |
| \ V V / \ V V / \ V V / _ | |___| | |_| | __/ |__| (_) | | | | _ | (_| (_) | | | | | | |
| \_/\_/ \_/\_/ \_/\_/ (_) \____|_|\__,_|\___|\____\___/|_| |_| (_) \___\___/|_| |_| |_| |
| |
.=======================================================================================================.

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,078
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,553
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,402
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,177
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,814
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898