• freeswitch源码编译 ./configure 遇到的问题


    从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的配置已经完成。

    COPY我学长的 可是真的帮了我很大的忙

  • 相关阅读:
    java 中 this 和 super 说明及在构造器中super()和this()相互调用执行顺序
    Java中get()方法和set()方法如何使用?
    java中如何在键盘中输入一串数字然后存入数组中?
    修改阿里云服务器主机名称
    flask第一个页面
    爬取汽车之家新闻的数据
    冒泡排序
    爬取简书
    Mac Flask-Migrate 安装出现错误
    C++__ 判断和循环
  • 原文地址:https://www.cnblogs.com/nazi549038167/p/4425803.html
Copyright © 2020-2023  润新知