热门关键字:  ubuntu  分区  函数  linux系统进程  Fedora

当前位置 :| 主页>Linux教程>软件应用>

Asterisk的安装

来源: 作者: 时间:2008-03-04 Tag: 点击:

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!!


上一篇:没有了
下一篇:没有了
最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册