FreeSWITCH source code compilation./configure Problems encountered

Source: Internet
Author: User
Tags freeswitch

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.