asterisk14 编译笔记
来源:互联网 发布:众泰e200好还是知豆 编辑:程序博客网 时间:2024/06/01 21:16
环境:ubuntu12.04
./configure
一、-bash: wget: command not found
sudo apt-get install wget
二、configure: error: no acceptable C compiler found in $PATH
sudo apt-get install gcc
三、make: gcc: command not found
sudo apt-get install gcc
四、configure: error: C++ preprocessor “/lib/cpp” fails sanity check
sudo apt-get install g++
CentOS 6: yum install glibc-headers gcc-c++
五、configure: error: *** Please install GNU make. It is required to build Asterisk!
sudo apt-get install make
运行apt-get install ncurses-dev
CentOS 6: yum -y install ncurses-devel
解决办法:
apt-get install uuid-dev
八、error: *** JSON support not found (this typically means the libjansson development package is missing)
cd /usr/src/
&& wget http://www.digip.org/jansson/releases/jansson-2.5.tar.gz
tar -zxf jansson-2.5.tar.gz
cd jansson*
./configure --prefix=/usr/ && make clean && make && make install && ldconfig
九、The Asterisk menuselect tool requires the 'libxml2' development package.
下载libxml2-2.6.32.tar.gz:http://download.chinaunix.net/down.php?id=28493&ResourceID=6095&site=1
解压:tar -zxf libxml2-2.6.32.tar.gz
编译、安装
./configure && make && make install
十、. configure: error: *** Asterisk now uses SQLite3 for the internal Asterisk database.
解决办法:
下载sqlite-3.3.5.tar.gz:http://download.chinaunix.net/down.php?id=19777&ResourceID=9862&site=1
解压:tar -zxf sqlite-3.3.5.tar.gz
编译、安装./configure
make && make install
十一、编译asterisk时,使用./configure
错误:{standard input}:1036: Error: no such instruction: `vfmadd312ps 160(%rsp),%ymm0,%ymm1'
./configure CFLAGS=-mtune=generic
----------更新时间2017.9.5----------------
十二、在CentOS 6中编译asterisk遇到 termcap support not found问题
yum install ncurses-devel
十三、CentOS:uuid support not found (this typically means the libjansson development package is missing):
解决办法:
yum install libuuid-devel
----------更新时间2017.9.20----------------
十四、configure: error: C++ preprocessor “/lib/cpp” fails sanity check
yum install glibc-headers gcc-c++
十五、安装lrzsz包
yum install lrzsz
- asterisk14 编译笔记
- CVM编译实践笔记
- 编译原理学习笔记
- 编译原理学习笔记
- CVM编译实践笔记
- uclinux编译笔记
- u-boot编译笔记
- Mingw32 编译选项笔记
- 编译原理学习笔记
- CVM编译实践笔记
- CGAL编译安装笔记
- 编译原理笔记
- wireshark 编译笔记
- 编译原理笔记 一
- jforum源码编译笔记
- u-boot编译笔记
- 内核编译笔记
- ffmpeg编译笔记
- 除法的优化
- 利用Pytorch进行CNN详细剖析
- MySQL创建用户与授权
- CAN数据格式
- Linux-7-后台运行的几种可靠方法
- asterisk14 编译笔记
- 云计算免费视频教程:Bashshell脚本编程详解
- J2EE进阶之JDBC简介 十六
- ec报错
- 获取字符串的像素大小
- swoole深入学习 5. AsyncIO 异步IO
- Windows下Sublime text3实现函数跳转
- 虚拟机CentOS 7通过桥接配置静态ip
- 最大熵学习笔记(三)最大熵模型