我需要帮助,我正在尝试编译monodevelop代码,但是当我使用"./configure“命令时,它告诉我我需要安装mono的一个版本,但我已经安装了它
[raven@localhost ~]$ mono -V
Mono JIT compiler version 3.2.8 (tarball Fri May 30 08:15:47 CDT 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
[raven@localhost ~]$ cd /home/raven/Downloads/monodevelop-4.2.3
[raven@localhost monodevelop-4.2.3]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mono... /usr/local/bin/mono
checking for gmcs... /usr/local/bin/gmcs
checking for pkg-config... /usr/bin/pkg-config
configure: error: You need mono 3.0.4 or newer
[raven@localhost monodevelop-4.2.3]$发布于 2014-06-02 20:36:16
configure脚本通过pkg-config读取单声道版本。确保您已经安装了mono.pc,并且您的pkg-config可以找到它。由于您似乎已经在/usr/local中安装了mono,因此您的mono.pc很可能是在/usr/local/lib/pkg-config中。但是,您使用的是来自/usr/bin的pkg-config,它可能未配置为在/usr/local中查找。您应该使用添加到PKG_CONFIG_PATH的适当目录重新运行configure,例如:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure发布于 2014-10-15 09:32:44
我必须安装mono-devel包。我从这个thread那里得到了提示。要安装我使用的mono-devel:
$ sudo apt-get install mono-devel发布于 2014-06-03 17:20:56
使用编译和安装mono
./autogen.sh --prefix=/usr而不是
./autogen.sh --prefix=/usr/localhttps://stackoverflow.com/questions/23956207
复制相似问题