Asterisk以一个功能强大的soft PBX 今天成功的安装了asterisk
以下是我在安装它的时候的步骤和出现的问题
步骤:
一
Downland Asterisk form http://www.asterisk.org
二
安装
tar –zxvf asterisk-1.4.18.tar.gz
cd asterisk-1.4.18
./configure
make
makeinstall
三
运行
asterisk –cvvvv
出现的问题:
我的linux kernal 2.4.20 make 版本是3.79.1 make 版本太低 要先升级到3.8以上 否则将会出现以下的错误
[CC] func_cdr.c -> func_cdr.o
[LD] func_cdr.o -> func_cdr.so
[CC] func_channel.c -> func_channel.o
[LD] func_channel.o -> func_channel.so
[CC] func_curl.c -> func_curl.o
func_curl.c: In function `curl_internal':
func_curl.c:106: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
func_curl.c:106: (Each undeclared identifier is reported only once
func_curl.c:106: for each function it appears in.)
如果出现
menuselect/menuselect --check-deps menuselect.makeopts
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
[CC] func_curl.c -> func_curl.o
func_curl.c: In function `curl_internal':
func_curl.c:106: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
func_curl.c:106: (Each undeclared identifier is reported only once
func_curl.c:106: for each function it appears in.)
make[1]: *** [func_curl.o] Error 1
make: *** [funcs] Error 2
你就需要安装curl development package
Google 一下curl 找到主页下载编译安装
然后就会成功!
Goodluck!!
Asterisk的安装
来源:
作者:
时间:2008-03-04
Tag:
点击:
0
上一篇:没有了
下一篇:没有了
下一篇:没有了
最新评论共有 4 位网友发表了评论
查看所有评论
发表评论
热点关注
