Hi.

While trying to compile examples from http://www.mono-project.com/Mono_Basics I 
kept getting:

--
vkz-air:mono vkz$ gmcs hello-wforms.cs -pkg:dotnetPackage dotnet was not found 
in the pkg-config search path.
Perhaps you should add the directory containing `dotnet.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dotnet' found
error CS8027: Error running pkg-config. Check the above output.
--

I fixed that by:
PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig;
 export PKG_CONFIG_PATH

I can't help but wonder why wasn't this setup for me when I fresh-installed 
mono + MonoDevelop as described on http://www.mono-project.com/Mono:OSX

Suspect this isn't unique to OSX, so posting to this list.
Thanks
---
Vlad Kozin <[email protected]>



_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to