No package 'mono' found when installing XSP

若如初见. 提交于 2019-12-13 02:26:44

问题


I am trying to get Mono working on nginx with fastCGI.

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.

I then followed this tutorial for installing Mono via Git : https://stackoverflow.com/a/13424880/221456

libgdiplus installed fine mono installed fine xsp, when I run autogen (with the prefix), gives me this error :

checking for MONO_MODULE... configure: error: Package requirements (mono >= 2.10.0) were not met:

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

Which I have tried, however I still get the exact same error message.

What am I missing?


回答1:


The problem is with the variable

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

the correct is

export PKG_CONFIG_PATH=/usr/lib/pkgconfig

because you compile with the with the prefix. /usr



来源:https://stackoverflow.com/questions/18474237/no-package-mono-found-when-installing-xsp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!