在为windows构建Linphone时出错

时间:2022-09-06 21:12:06

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.

我正试着按照Readme的指示为windows构建linphone。mingw使用mingw / Msys。在下载bel -sip包之前没有问题。

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

当我运行。/ autogen。我得到下面的错误。

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?

谁能指出我哪里出错了,并给出成功构建的步骤吗?

Any help is appreciated.

任何帮助都是感激。

2 个解决方案

#1


15  

Given this specific part of the error output:

给定误差输出的这个特定部分:

Can't locate Automake/Config.pm in @INC (@INC contains: /mingw/share/automake-1. 11 ....

无法定位Automake /配置。@INC中的pm (@INC包含:/mingw/share/automake-1)。11 ....

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路径不存在,这意味着它应该作为别名添加到fstab文件中的c:\mingw。

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

请参阅MinGW安装说明,了解如何一步步地安装。

#2


0  

you need to create shortcut of AllPrograms->Start menu->minGW->msys.bat if this opens correctly that means msys is configured correctly with minGW.

需要创建所有程序的快捷方式——>开始菜单——>minGW->msys。如果这个打开正确,意味着msys的配置正确。

For automake errors. 1. Open MinGW installation manager. MinGW Installation Manager[C:/MinGW/bin mingw-get.exe]

automake的错误。1。打开MinGW installation manager。MinGW Installation Manager(C:/ MinGW / bin mingw-get.exe)

//All automake, libtool, autoconf, aclocal, autoheader dependencies must be installed. I hope this should resolve your issue.

//必须安装所有的自动机、libtool、autoconf、aclocal、autoheader依赖项。我希望这能解决你的问题。

Keep me posting if it still does'nt work.

如果它还不工作,请让我张贴。

Amit

阿米特

#1


15  

Given this specific part of the error output:

给定误差输出的这个特定部分:

Can't locate Automake/Config.pm in @INC (@INC contains: /mingw/share/automake-1. 11 ....

无法定位Automake /配置。@INC中的pm (@INC包含:/mingw/share/automake-1)。11 ....

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路径不存在,这意味着它应该作为别名添加到fstab文件中的c:\mingw。

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

请参阅MinGW安装说明,了解如何一步步地安装。

#2


0  

you need to create shortcut of AllPrograms->Start menu->minGW->msys.bat if this opens correctly that means msys is configured correctly with minGW.

需要创建所有程序的快捷方式——>开始菜单——>minGW->msys。如果这个打开正确,意味着msys的配置正确。

For automake errors. 1. Open MinGW installation manager. MinGW Installation Manager[C:/MinGW/bin mingw-get.exe]

automake的错误。1。打开MinGW installation manager。MinGW Installation Manager(C:/ MinGW / bin mingw-get.exe)

//All automake, libtool, autoconf, aclocal, autoheader dependencies must be installed. I hope this should resolve your issue.

//必须安装所有的自动机、libtool、autoconf、aclocal、autoheader依赖项。我希望这能解决你的问题。

Keep me posting if it still does'nt work.

如果它还不工作,请让我张贴。

Amit

阿米特