[Mono-list] Compiling gtkmozembed-sharp from svn
Fri, 18 Feb 2005 11:37:01 +0000
On Fri, 2005-02-18 at 11:16 +0000, Paul Johnson wrote:
> I take it you've compiled libgdiplus and have both gtkhtml3-devel and
> gtksourceview-sharp installed as well?
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
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
generated/HighlightUpdatedHandler.cs(10) error CS0246: Cannot find type
generated/MarkerUpdatedHandler.cs(10) error CS0246: Cannot find type
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 <0x00015> Mono.CSharp.TypeExpr:get_IsInterface ()
in <0x000de> Mono.CSharp.TypeContainer:GetNormalBases
in <0x00081> Mono.CSharp.TypeContainer:GetClassBases
in <0x0013b> Mono.CSharp.TypeContainer:DefineType ()
in <0x000cc> Mono.CSharp.Class:DefineType ()
in <0x0038f> Mono.CSharp.RootContext:ResolveTree ()
in <0x00b2b> Mono.CSharp.Driver:MainDriver (string)
in <0x0000f> Mono.CSharp.Driver:Main (string)
> Failing that, you may need to ensure /usr/local/lib is included in
> LD_CONFIG_PATH (I think it is!).
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.
Dave Murphy <firstname.lastname@example.org>