[Mono-list] Compiling gtkmozembed-sharp from svn
Dave Murphy
dave@schwuk.com
Fri, 18 Feb 2005 16:08:37 +0000
On Fri, 2005-02-18 at 10:38 -0500, John Luke wrote:
> 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
Unfortunately it is... Here's an example:
dave@warty:~ $ pkg-config --modversion gtk-sharp-2.0
Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found
dave@warty:~ $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
dave@warty:~ $ pkg-config --modversion gtk-sharp-2.0
1.9.2.99
dave@warty:~ $ pkg-config --libs gtk-sharp-2.0
-r:/usr/local/lib/mono/gtk-sharp-2.0/glib-sharp.dll
-r:/usr/local/lib/mono/gtk-sharp-2.0/pango-sharp.dll
-r:/usr/local/lib/mono/gtk-sharp-2.0/atk-sharp.dll
-r:/usr/local/lib/mono/gtk-sharp-2.0/gdk-sharp.dll
-r:/usr/local/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
dave@warty:~ $ mcs Main.cs -pkg:gtk-sharp-2.0
Main.cs(22) error CS0246: Cannot find type 'DeleteEventArgs'
Main.cs(2) error CS0246: The namespace `Gtk' can not be found (missing
assembly reference?)
Try using -pkg:gtk-sharp
Compilation failed: 2 error(s), 0 warnings
dave@warty:~ $ mcs Main.cs
-r:/usr/local/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
dave@warty:~ $
As you can see, using -pkg: doesn't work on my system.
Cheers,
--
Dave Murphy <dave@schwuk.com>