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

109 строки
4.0 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="025808.html">
<LINK REL="Next" HREF="025812.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 11:37:01 +0000</I>
<P><UL>
<LI> Previous message: <A HREF="025808.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> Next message: <A HREF="025812.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25810">[ date ]</a>
<a href="thread.html#25810">[ thread ]</a>
<a href="subject.html#25810">[ subject ]</a>
<a href="author.html#25810">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, 2005-02-18 at 11:16 +0000, Paul Johnson wrote:
&gt;<i> I take it you've compiled libgdiplus and have both gtkhtml3-devel and
</I>&gt;<i> gtksourceview-sharp installed as well?
</I>
libgdiplus and gtkhtml-sharp - yes.
gtksourceview-sharp - no, so I tried to compile that, and got:
/usr/local/bin/mcs --unsafe --target library /pkg:gnome-sharp-2.0 \
generated/*.cs ./GtkSourceView.cs AssemblyInfo.cs -o
gtksourceview-sharp.dll
generated/SourceStyleScheme.cs(9) error CS0246: Cannot find type
'GLib.IWrapper'generated/CanRedoFiredHandler.cs(10) error CS0246: Cannot
find type 'GLib.SignalArgs'
generated/CanUndoFiredHandler.cs(10) error CS0246: Cannot find type
'GLib.SignalArgs'
generated/HighlightUpdatedHandler.cs(10) error CS0246: Cannot find type
'GLib.SignalArgs'
generated/MarkerUpdatedHandler.cs(10) error CS0246: Cannot find type
'GLib.SignalArgs'
generated/SourceTag.cs(11) error CS0246: Cannot find type 'Gtk.TextTag'
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in &lt;0x00015&gt; Mono.CSharp.TypeExpr:get_IsInterface ()
in &lt;0x000de&gt; Mono.CSharp.TypeContainer:GetNormalBases
(Mono.CSharp.TypeExpr&amp;,bool&amp;)
in &lt;0x00081&gt; Mono.CSharp.TypeContainer:GetClassBases
(Mono.CSharp.TypeExpr&amp;,bool&amp;)
in &lt;0x0013b&gt; Mono.CSharp.TypeContainer:DefineType ()
in &lt;0x000cc&gt; Mono.CSharp.Class:DefineType ()
in &lt;0x0038f&gt; Mono.CSharp.RootContext:ResolveTree ()
in &lt;0x00b2b&gt; Mono.CSharp.Driver:MainDriver (string[])
in &lt;0x0000f&gt; Mono.CSharp.Driver:Main (string[])
:<i>(
</I>
&gt;<i> Failing that, you may need to ensure /usr/local/lib is included in
</I>&gt;<i> LD_CONFIG_PATH (I think it is!).
</I>
I'd already added it to /etc/ld.so.conf for libgdiplus.
I just don't get this - mono is installed and compiles some apps, yet
fails with others using (apparently) the same libraries.
Maybe I should just wipe the whole lot and use --prefix=/usr
On another note, I've looked at your script, and it seems to be doing
essentially the same steps I'm following, except... monodoc requires
gtk-sharp (not gtk-sharp-2.0 which your script builds). Note I'm
building without a previous mono install.
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="025808.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> Next message: <A HREF="025812.html">[Mono-list] Compiling gtkmozembed-sharp from svn
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25810">[ date ]</a>
<a href="thread.html#25810">[ thread ]</a>
<a href="subject.html#25810">[ subject ]</a>
<a href="author.html#25810">[ author ]</a>
</LI>
</UL>
</body></html>