linux – 编译MonoDevelop 4.2.3
发布时间:2020-12-13 23:10:47 所属栏目:Linux 来源:网络整理
导读:我需要帮助,我正在尝试编译monodevelop代码,但是当我使用命令“./configure”告诉我我需要安装一个单声道版本,但我安装了它 [raven@localhost ~]$mono -V Mono JIT compiler version 3.2.8 (tarball Fri May 30 08:15:47 CDT 2014) Copyright (C) 2002-2014
我需要帮助,我正在尝试编译monodevelop代码,但是当我使用命令“./configure”告诉我我需要安装一个单声道版本,但我安装了它
[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]$ 解决方法
configure脚本通过pkg-config读取单声道版本.确保已安装mono.pc并且您的pkg-config正在查找它.由于您似乎已将mono安装到/usr/local,因此您的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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |