No package 'mono' found when installing XSP

2k views Asked by At

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

There are 1 answers

1
Fredy On

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