简体   繁体   English

在Xcode上构建linphone时makefile.in错误

[英]makefile.in error while building linphone on Xcode

I have a linphone source code downloaded from their website.I have followed the process which they have showed in the Read Me file. 我从他们的网站上下载了linphone源代码。我遵循了他们在自述文件中显示的过程。 Everything works well till I build, but when I give make all command, the following error is generated : 一切正常,直到我进行构建,但是当我发出make all命令时,将产生以下错误:

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make[1]: *** [/Users/apple/linphone-iphone/submodules/build/../build-i386-apple-darwin/externals/polarssl/Makefile] Error 1
make: *** [broadcast_all] Error 2

These are the error lines which I come across. 这些是我遇到的错误行。 Need guidance on this. 需要指导。 What could be going wrong here ? 这里可能出什么问题了? For your information, I am using osx 10.9 and Xcode 5.1. 供您参考,我正在使用osx 10.9和Xcode 5.1。

Thanks. 谢谢。

I was building linphone-android and ran into the same 'Makefile.in' issue on my Mac OSX 10.8.5 in several submodules. 我正在构建linphone-android,并在Mac OSX 10.8.5的几个子模块中遇到了相同的“ Makefile.in”问题。 The thing to look for is in the submodule project's autogen.sh (in your case, submodules/externals/polarssl/autogen.h). 要查找的内容位于子模块项目的autogen.sh中(在您的情况下,为submodules / externals / polarssl / autogen.h)。 There it tries to set an environment var for the libtoolize tool. 在那里,它尝试为libtoolize工具设置环境变量

if test -f /opt/local/bin/glibtoolize ; then
    # darwin
    LIBTOOLIZE=/opt/local/bin/glibtoolize
else
    LIBTOOLIZE=libtoolize
fi

I installed libtool (includes libtoolsize ) via Mac Brew (package manager - link ) and it found that I already had an Apple version of libtool at /usr/bin/libtool. 我通过Mac的酿造安装的libtool(包括libtoolsize)(包管理器- 链接 ),它发现我已经是/ usr / bin中/ libtool的的libtool苹果版本。 So it installed the Brew versions to /usr/local/bin/glibtool and glibtoolize. 因此,它将Brew版本安装到/ usr / local / bin / glibtool和glibtoolize。 I modified the above blocks of code in several submodule autogen.sh files to check /usr/local/bin/glibtoolize instead of /opt/local/bin/glibtoolize. 我在几个子模块autogen.sh文件中修改了上述代码块,以检查/ usr / local / bin / glibtoolize而不是/ opt / local / bin / glibtoolize。

The other easier option that I'll probably go with if this build finishes for me, will be to just symlink /usr/local/bin/glibtoolize to /usr/bin/libtoolize - because on my system I don't have any Apple version of that one (only have Apple's libtool). 如果此构建完成了,我可能会选择的另一个更简单的选项是将/ usr / local / bin / glibtoolize符号链接到/ usr / bin / libtoolize-因为在我的系统上我没有任何Apple该版本的版本(仅具有Apple的libtool)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM