after installing mono, pkg-config --libs mono returns the following error: underhill mono # pkg-config --libs mono Package mono was not found in the pkg-config search path. Perhaps you should add the directory containing `mono.pc' to the PKG_CONFIG_PATH environment variable No package 'mono' found I doubt this is amd64 specific, but that is the only gentoo platform I have to test it. Because of this bug I can't build tomboy, a mono app, on top of it. Reproducible: Always Steps to Reproduce: 1. emerge mono 2. pkg-config --libs mono 3. Actual Results: underhill mono # pkg-config --libs mono Package mono was not found in the pkg-config search path. Perhaps you should add the directory containing `mono.pc' to the PKG_CONFIG_PATH environment variable No package 'mono' found Expected Results: dargo:~> pkg-config --libs mono -Wl,--export-dynamic -pthread -lmono -lpthread -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
The 1.0.2 series does not have support for the JIT on amd64, so things like tomboy, gtk-sharp, etc are less than feasible. This *may* be why mono.pc is not installed (since the JIT is a no-go on that platform on 1.0.x). I've got the dev 1.1.x installed currently, but I'll test on x86 this week to see if 1.0.x installs it on this (JIT supported) platform.
I can confirm that mono.pc *does* get installed by mono-1.0.5-r1 on x86. The logic is clear in ${S}/Makefile.am: if JIT_SUPPORTED pkgconfig_DATA= mono.pc mint.pc else pkgconfig_DATA= mint.pc endif for mono-1.0.x, amd64 != JIT_SUPPORTED. If you'd like to try a version of mono with an amd64 JIT, you can try the mono-1.1.x ebuilds in my overlay found at: http://dev.gentoo.org/~latexer/files/ However, *PLEASE* don't report bugs if using these. Things are known to break/requiring newer versions with these versions of mono. Marking this bug CANTFIX, when mono-1.2 is out, amd64 will stop being a second class citizen in the mono world. Until then, SOL. ):