由于intltools,无法为Mono Develop运行configure

时间:2012-06-22 14:28:55

标签: macos mono monodevelop

我从Git下载了最新版本的MonoDevelop Unity。在此之前,我尝试使用Git中的MonoDevelop的vanilla版本。

我尝试使用以下代码编译MonoDevelop:./configure

我尝试了包括但不包括所有包裹的内容:

Select the packages to include in the build for the profile 'default':

1. [X] main
2. [X] extras/JavaBinding
3. [X] extras/ValaBinding
4. [X] extras/MonoDevelop.Database
5. [X] extras/MonoDevelop.Debugger.Gdb
6. [X] extras/PyBinding
7. [X] extras/MonoDevelop.MonoMac
8. [X] extras/MonoDevelop.MeeGo

我开始思考自己"这太棒了!"。路障出现了:

Configuring package: main
-------------------------
Configuration options: 
Running aclocal  ...
Running automake --foreign  ...
Running autoconf ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings --prefix=/usr/local ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for mono... /usr/bin/mono
checking for gmcs... /usr/bin/gmcs
checking for pkg-config... /usr/bin/pkg-config
checking for msgfmt... no
configure: error: You need to install msgfmt from intltool

我已尽力尝试手动安装intltool,但我没有遇到过这样的运气。

这怎么能配置错误"修好了? configure: error: You need to install msgfmt from intltool

2 个答案:

答案 0 :(得分:2)

如果您从源代码构建MonoDevelop,则需要Mono MDK软件包,而不是MRE软件包。

请参阅http://monodevelop.com/Developers/Mac_Support/Building_MonoDevelop_on_OS_X

不确定Unity的版本,他们保留了一个旧的分支,我不知道他们已经改变了什么。

答案 1 :(得分:2)

事实证明我必须安装gettext(通过this answer)。