[Mono-list] Compiling gtkmozembed-sharp from svn

John Luke john.luke@gmail.com
Fri, 18 Feb 2005 10:38:01 -0500


Dave Murphy wrote:

>I'm compiling gtkmozembed-sharp from svn, and get the following error:
>
>/usr/local/bin/mcs      -L ..//gtkmozembed \
>-r gecko-sharp.dll \
>-pkg:gtk-sharp-2.0 ./WebThumbnailer.cs \
>-o WebThumbnailer.exe
>./WebThumbnailer.cs(12) error CS0246: The namespace `Gtk' can not be found (missing assembly reference?)
>    Try using -pkg:gtk-sharp
>Compilation failed: 1 error(s), 0 warnings
>
>mono, mcs, gtk-sharp (1.0 and 2.0) have all compiled successfully, with
>--prefix=/usr/local. Any ideas where I should start looking?
>
>Cheers,
>  
>
If you installed them to /usr/local make sure /usr/local/lib/pkgconfig 
is part of PKG_CONFIG_PATH
so that
pkg-config --modversion gtk-sharp-2.0
returns something useful