Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi!
Currently I'm trying to compile some plugins for Banshee, and the trying to configure them returns this error:
checking for MONO... configure: error: Package requirements (mono >= 1.1.13) were not met:
No package 'mono' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MONO_CFLAGS
and MONO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
How can I fix this? I installed the latest mono packages, but it still doesn't seem to recognize it. Am i missing some package? I can post more error messages or anything.
The configure script is looking for a file with a .pc extension (probably something like mono.pc). Usually, this is installed in /usr/lib/pkgconfig or /usr/local/lib/pkgconfig unless you installed Mono with some 'non-standard' prefix. You can execute the configure script like this if you have a mono.pc file on your machine
Code:
PKG_CONFIG_PATH="/path/to/mono.pc" ./configure
Depending on how you installed mono, and I'm not familiar with the package management system for the distro you have listed (Elive), you may not have the *.pc file. If your distro is not source based, it likely won't provide "development" files when it installs a package. These types of distros (most in fact) will provide the development stuff in a seperate package. Look for a package called mono-dev or mono-devel or something similar and install that to get the *.pc file.
BTW, to be nit-picky and technical, you were configuring not compiling.
well elive is debian 4.0
in /usr/lib/pkgconfig/ i have mono-cairo.pc, mono-cecil.pc, monodevelop.pc and monodoc.pc
i tried PKG_CONFIG_PATH="/usr/lib/pkgconfig/monodevelop.pc" ./configure,
but it still returns the same errors.. any ideas? and sorry bout the incorrect title, i realized it after i posted it!
It's the PATH to the pkg-config files, I can see that my post was confusing though. It would be
Code:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure
However, /usr/lib/pkgconfig is a standard directory that pkg-config looks in...you don't need to specify it. Soooooooo....
Let's start at the beginning. What version of Mono do you have installed? You need 1.1.13 or greater. The most recent version is 1.2.3.1.
I can never find the on-line Debian package database, but the Ubuntu database has mono.pc being provided by the package libmono-dev. The package called mono is just the CLI runtime stuff. See if there is a libmono-dev in the Debian repos and install that.
What package exactly are you trying to install? Worst case, I can download the source and look at the configure script to see exactly what it's looking for.
I don't know if I'll ever get them to work, and honestly its ok if they don't. you were correct, i needed libmono-dev package in order to configure, but now i'm just running into more dependency hell. So, if I don't get it soon then I'll just wait. But, thanks for the help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.