XSP配置由于单声道模块依赖性而失败 [英] XSP Configure fails due to mono module dependancy

查看:147
本文介绍了XSP配置由于单声道模块依赖性而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的RHEL 5机器中安装了mono,如下所示:

I have mono installed in my RHEL 5 machine which is visible as follows:

哪个单声道

/usr/local/bin/mono

/usr/local/bin/mono

单声道-V

Mono JIT编译器版本2.10.2(2013年10月16日星期三CDT 2013 tarball) 版权所有(C)2002-2011 Novell,Inc和贡献者. www.mono-project.com TLS:__thread SIGSEGV:altstack 通知:epoll 架构:amd64 禁用:无 其他:softdebug LLVM:受支持,未启用. GC:随附的Boehm(带有键入的GC和平行标记)

Mono JIT compiler version 2.10.2 (tarball Wed Oct 16 10:33:49 CDT 2013) Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark)

当我尝试运行xsp的配置脚本时,由于找不到单声道而失败.

When i try to run the configure script for xsp, it fails since it could not find mono.

./configure

检查构建系统类型... x86_64-unknown-linux-gnu 检查主机系统类型... x86_64-unknown-linux-gnu 检查目标系统类型... x86_64-unknown-linux-gnu 正在检查与BSD兼容的安装.../usr/bin/install -c 检查构建环境是否正常...是 检查线程安全的mkdir -p .../bin/mkdir -p 检查gawk ... gawk 检查make set $(MAKE)...是 检查是否启用Makefile的维护者特定部分...否 正在检查与BSD兼容的安装.../usr/bin/install -c 正在检查gawk ...(已缓存)gawk 检查线程安全的mkdir -p .../bin/mkdir -p 检查pkg-config .../usr/bin/pkg-config 检查pkg-config至少是0.9.0版...是 正在检查MONO_MODULE ...配置:错误:不满足程序包要求(单声道> = 2.10.0):

checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking for a thread-safe mkdir -p... /bin/mkdir -p checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for MONO_MODULE... configure: error: Package requirements (mono >= 2.10.0) were not met:

未找到包"mono"

No package 'mono' found

如果您要调整PKG_CONFIG_PATH环境变量,请考虑 以非标准前缀安装的软件.

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

或者,您可以设置环境变量MONO_MODULE_CFLAGS 和MONO_MODULE_LIBS避免需要调用pkg-config. 有关更多详细信息,请参见pkg-config手册页.

Alternatively, you may set the environment variables MONO_MODULE_CFLAGS and MONO_MODULE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

我试图通过将mono.pc文件路径添加到PKG_CONFIG_PATH来解决此问题. 导出PKG_CONFIG_PATH =/usr/local/lib/pkgconfig

I tried to resolve this by adding the mono.pc file path to PKG_CONFIG_PATH. export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

但是问题没有得到解决,尽管如此,我还是遇到了同样的错误.

But the issue didn't get resolved and i got the same error nonetheless.

请帮助我找到解决此问题的方法.

Please help me in finding a resolution for this issue.

推荐答案

在您的单声道安装中检查pkgconfig的正确位置.我一直运行相同的错误,直到发现它在

Check the correct location of pkgconfig in your mono installation.I was running with the same error until i found that it was under

/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/pkgconfig/

/Library/Frameworks/Mono.framework/Versions/3.4.0/lib/pkgconfig/

这篇关于XSP配置由于单声道模块依赖性而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆