首页 > 代码库 > Centos6安装FreeSWITCH 1.5时./configure问题解决记录

Centos6安装FreeSWITCH 1.5时./configure问题解决记录

系统: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