安装XSP时未找到软件包“mono” [英] No package 'mono' found when installing XSP
问题描述
我试图让mono使用fastCGI在nginx上工作。
I am trying to get Mono working on nginx with fastCGI.
我刚刚安装了CentOS 6,并执行了所有更新。然后我安装了nginx,打开了我需要的防火墙。我现在可以看到来自nginx的简单HTML页面,没有问题。
I have done a fresh install of CentOS 6, and performed all the updates. I then installed nginx, and opened up the firewalls I needed. I can now see the simple HTML page from nginx without a problem.
然后我按照本教程通过Git安装Mono:
http://stackoverflow.com/a/13424880/221456
I then followed this tutorial for installing Mono via Git : http://stackoverflow.com/a/13424880/221456
libgdiplus已安装fine
mono install fine
xsp,当我运行autogen(带前缀)时,会出现这个错误:
libgdiplus installed fine mono installed fine xsp, when I run autogen (with the prefix), gives me this error :
对于MONO_MODULE ... configure:error:未满足软件包要求
(mono> = 2.10.0):
checking for MONO_MODULE... configure: error: Package requirements (mono >= 2.10.0) were not met:
未找到软件包 p>
No package 'mono' found
我做了一些搜索,我唯一可以找到的是运行这个命令:
I did a bit of searching, and the only thing I could find was to run this command :
export PKG_CONFIG_PATH = / usr / local / lib / pkgconfig
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
推荐答案
问题是变量
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
正确的是
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
。 / usr
这篇关于安装XSP时未找到软件包“mono”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!