本文介绍了为Windows构建Linphone时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用MinGw/Msys按照Readme.mingw中的说明为Windows构建linphone.在下载belle-sip软件包之前没有任何问题.

I am trying to build linphone for windows by following the instructions in Readme.mingw using MinGw/Msys. There is no issues till the download of belle-sip package.

当我运行./autogen.sh时,出现以下错误.

When I run ./autogen.sh I am getting the below error.

Generating buildipts in belle-sip...
+ libtoolize --copy --force
libtoolize: $pkgltdldir is not a directory: `/mingw/share/libtool'
+ aclocal -I /share/aclocal
Can't locate Automake/Config.pm in @INC (@INC contains: /mingw/share/automake-1.
11 /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/msys
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_
perl/5.8/msys /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) a
t /c/MinGW/bin/aclocal-1.11 line 37.
BEGIN failed--compilation aborted at /c/MinGW/bin/aclocal-1.11 line 37.
+ autoheader
Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: /mingw/share/autoco
nf /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/msys
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_
perl/5.8/msys /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) a
t /c/MinGW/bin/autoheader-2.68 line 42.
BEGIN failed--compilation aborted at /c/MinGW/bin/autoheader-2.68 line 42.
+ automake --force-missing --add-missing --copy
Can't locate Automake/Struct.pm in @INC (@INC contains: /mingw/share/automake-1.
11 /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/msys
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_
perl/5.8/msys /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) a
t /c/MinGW/bin/automake-1.11 line 47.
BEGIN failed--compilation aborted at /c/MinGW/bin/automake-1.11 line 47.
+ autoconf
/c/MinGW/bin/autoconf-2.68: line 501: /mingw/bin/autom4te-2.68: No such file or
directory
/c/MinGW/bin/autoconf-2.68: line 501: exec: /mingw/bin/autom4te-2.68: cannot exe
cute: No such file or directory

谁能指出我出了问题的地方,并给出成功构建的步骤?

Can anyone point out where I went wrong and give the steps for successful build?

感谢您的帮助.

推荐答案

给出错误输出的这一特定部分:

Given this specific part of the error output:

看起来/mingw路径不存在,这意味着应将其作为别名添加到fstab文件中的c:\mingw.

It looks that the /mingw path does not exist, which means it should be added as an alias to c:\mingw in the fstab file.

有关分步操作方法,请参见 MinGW安装说明.

See the MinGW Installation Notes for a step-by-step howto.

这篇关于为Windows构建Linphone时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-26 15:38
查看更多