mail-archives/mono-list/2005-February/025818.html

93 строки
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Compiling gtkmozembed-sharp from svn
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:dave%40schwuk.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025816.html">
<LINK REL="Next" HREF="025821.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Compiling gtkmozembed-sharp from svn
</H1>
<B>Dave Murphy
</B>
<A HREF="mailto:dave%40schwuk.com"
TITLE="[Mono-list] Compiling gtkmozembed-sharp from svn">dave@schwuk.com
</A><BR>
<I>Fri, 18 Feb 2005 16:08:37 +0000</I>
<P><UL>
<LI> Previous message: <A HREF="025816.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> Next message: <A HREF="025821.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25818">[ date ]</a>
<a href="thread.html#25818">[ thread ]</a>
<a href="subject.html#25818">[ subject ]</a>
<a href="author.html#25818">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, 2005-02-18 at 10:38 -0500, John Luke wrote:
&gt;<i> If you installed them to /usr/local make sure /usr/local/lib/pkgconfig
</I>&gt;<i> is part of PKG_CONFIG_PATH
</I>&gt;<i> so that
</I>&gt;<i> pkg-config --modversion gtk-sharp-2.0
</I>&gt;<i> returns something useful
</I>
Unfortunately it is... Here's an example:
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ 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
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ pkg-config --modversion gtk-sharp-2.0
1.9.2.99
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ 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
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ 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
<A HREF="mailto:dave@warty">dave@warty</A>:~ $ mcs Main.cs
-r:/usr/local/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
<A HREF="mailto:dave@warty">dave@warty</A>:~ $
As you can see, using -pkg: doesn't work on my system.
Cheers,
--
Dave Murphy &lt;<A HREF="mailto:dave@schwuk.com">dave@schwuk.com</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025816.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> Next message: <A HREF="025821.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25818">[ date ]</a>
<a href="thread.html#25818">[ thread ]</a>
<a href="subject.html#25818">[ subject ]</a>
<a href="author.html#25818">[ author ]</a>
</LI>
</UL>
</body></html>