From the FreeSWITCH installation process./configure encountered the problem of SQLite start:
Checking for sqlite3 >= 3.6.20 ... Package sqlite3 is not found in the Pkg-config search path. Perhaps should add the directory containing ' sqlite3.pc ' to the PKG_CONFIG_PATH environment variable No package ' Sqlit E3′found
Configure:error:Library requirements (sqlite3 >= 3.6.20) not met; Consider adjusting the PKG_CONFIG_PATH environment variable if your libraries is in a nonstandard prefix so pkg-config CA N Find Them.
Should be a lack of development packages, so began the development package of this all the way manually loaded.
[email protected] freeswitch]# Yum install Sqlite-devel
[Email protected] Freeswitch]#./configure
[email protected] freeswitch]# Yum install Libcurl-devel
[Email protected] Freeswitch]#./configure
[email protected] freeswitch]# Yum install Pcre
[email protected] freeswitch]# Yum install Pcre-devel
[Email protected] Freeswitch]#./configure
[email protected] freeswitch]# Yum install Speex
[email protected] freeswitch]# Yum install Speex-devel
[Email protected] 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 #
As prompted not to find the Libldns-dev package, so I chose disable Mod_enum, as follows:
[[email protected] FreeSWITCH] #vi modules.conf
#applications/mod_enum
[Email protected] Freeswitch]#./configure
Configure:error:You need to either install Libedit-dev (>= 2.11) or configure with--disable-core-libedit-support
[[email protected] 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
[[email protected] FreeSWITCH] #yum install Libedit-devel
[Email protected] Freeswitch]#./configure
At this point, the FreeSWITCH configuration is complete.
Copy my seniors, but it really helped me a lot.
FreeSWITCH source code compilation./configure Problems encountered