[MonoDevelop] Error running pkg-config
Tom McCubbin
tmccubbin@tggsolutions.com
Thu, 03 Mar 2005 12:22:52 -0500
Bill Bodine wrote:
> When I attempt: "Import a Visual Studio .NET project", I get the
> following error:
>
> "Error running pkg-config. Check the above output."
>
> Unfortunately, there is no applicable output above this. Anyone have
> any ideas what package is attempting to be loaded here or how I can
> resolve this?
>
> Thanks,
> Bill
pkg-config is looking for some *.pc file needed to do its job. The
normal place these live are in:
/usr/lib/pkgconfig
If you installed 'stuff' under a different prefix then you need to tell
pkg-config where to find the *.pc files.
Do so like this:
(in bash)
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:<other/path>:<yet/another/path>
where you replace the stuff in <> with a real path(s).
you can discern which *.pc files it is looking for by reading the output
before the msg. If you can't see the output, try something like:
$>locate .pc
and this will list all the files named *.pc* on your system. make sure
all the dirs are included in your PKG_CONFIG_PATH
-tom