[Mono-list] Problems using gtk-sharp from cvs
John BouAntoun
jbouantoun@rogen.com.au
Tue, 1 Jun 2004 14:55:19 +1000
This is a multi-part message in MIME format.
------_=_NextPart_001_01C44794.A33FB48F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi guys,
=20
I've just moved to a fresh Fedora Core 2 system and have been building
mono / gtk-sharp / monodevelop from cvs with no problems prior to
moving.
=20
Since I moved to FC2 I was able to build everything from scratch with no
errors including
- mono/mcs (used a nightly to bootstrap and then used make bootstrap,
make install from cvs)
- gtk-sharp
- monodoc
- gtkmozembed-sharp
- gtksourceview-sharp
=20
I was also able to build MonoDevelop from svn. I started running into
problems when trying to actualy run an gtk-sharp applications.
=20
First with MonoDevelop, then with monodoc. So I decided to test one of
the gtk-sharp samples:
=20
The following is what i get when I run the treeviewdemo in the
gtk-sharp/demos folder.
=20
[john@nkotb sample]$ mono treeviewdemo.exe
=20
Unhandled Exception: System.DllNotFoundException: glibsharpglue
in <0x00053> (wrapper managed-to-native)
GLib.Object:gtksharp_object_newv (intptr,int,string[],GLib.Value[])
in <0x00060> GLib.Object:CreateNativeObject (string[],GLib.Value[])
in <0x00131> Gtk.TreeStore:.ctor (System.Type[])
in <0x00088> GtkSamples.TreeViewDemo:PopulateStore ()
in <0x0002c> GtkSamples.TreeViewDemo:.ctor ()
in <0x0001b> GtkSamples.TreeViewDemo:Main (string[])
Everthing executed make and sudo make install with no apparent erros,
but I can't seem to run a gtk-sharp app at all.
=20
The file it claims that it can't see is located here:
[john@nkotb john]$ locate glibsharpglue
/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.a
/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.la
/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.lai
/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.so
/home/john/monocvs/gtk-sharp/glib/glue/libglibsharpglue.la
/usr/local/lib/libglibsharpglue.a
/usr/local/lib/libglibsharpglue.la
/usr/local/lib/libglibsharpglue.so
So it would seem that I do have libglibsharpglue in the right place.
=20
Is there anything else I can check?
=20
Thanks in advance,
=20
JBA
------_=_NextPart_001_01C44794.A33FB48F
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>Hi=20
guys,</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>I've =
just moved to a=20
fresh Fedora Core 2 system and have been building mono / gtk-sharp / =
monodevelop=20
from cvs with no problems prior to moving.</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>Since =
I moved to FC2=20
I was able to build everything from scratch with no errors=20
including</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>- =
mono/mcs (used a=20
nightly to bootstrap and then used make bootstrap, make install from=20
cvs)</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>-=20
gtk-sharp</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>-=20
monodoc</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>-=20
gtkmozembed-sharp</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>-=20
gtksourceview-sharp</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>I was =
also able to=20
build MonoDevelop from svn. I started running into problems when trying =
to=20
actualy run an gtk-sharp applications.</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>First =
with=20
MonoDevelop, then with monodoc. So I decided to test one of the =
gtk-sharp=20
samples:</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>The =
following is=20
what i get when I run the treeviewdemo in the gtk-sharp/demos=20
folder.</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV><PRE><SPAN =
class=3D565404604-01062004>[john@nkotb sample]$ mono =
treeviewdemo.exe<BR> <BR>Unhandled Exception: =
System.DllNotFoundException: glibsharpglue<BR>in <0x00053> =
(wrapper managed-to-native) GLib.Object:gtksharp_object_newv =
(intptr,int,string[],GLib.Value[])<BR>in <0x00060> =
GLib.Object:CreateNativeObject (string[],GLib.Value[])<BR>in =
<0x00131> Gtk.TreeStore:.ctor (System.Type[])<BR>in =
<0x00088> GtkSamples.TreeViewDemo:PopulateStore ()<BR>in =
<0x0002c> GtkSamples.TreeViewDemo:.ctor ()<BR>in <0x0001b> =
GtkSamples.TreeViewDemo:Main (string[])</SPAN></PRE>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial =
size=3D2>Everthing executed=20
make and sudo make install with no apparent erros, but I can't seem to =
run a=20
gtk-sharp app at all.</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>The =
file it claims=20
that it can't see is located here:</FONT></SPAN></DIV><PRE><SPAN =
class=3D565404604-01062004>[john@nkotb john]$ locate =
glibsharpglue<BR>/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibshar=
pglue.a<BR>/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.=
la<BR>/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.lai<B=
R>/home/john/monocvs/gtk-sharp/glib/glue/.libs/libglibsharpglue.so<BR>/ho=
me/john/monocvs/gtk-sharp/glib/glue/libglibsharpglue.la<BR>/usr/local/lib=
/libglibsharpglue.a<BR>/usr/local/lib/libglibsharpglue.la<BR>/usr/local/l=
ib/libglibsharpglue.so</SPAN></PRE>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>So it =
would seem=20
that I do have libglibsharpglue in the right place.</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>Is =
there anything=20
else I can check?</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial size=3D2>Thanks =
in=20
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D565404604-01062004><FONT face=3DArial =
size=3D2>JBA</DIV>
<DIV><BR></DIV></FONT><FONT face=3DArial size=3D2>
<DIV><BR></DIV></FONT></SPAN></BODY></HTML>
=00
------_=_NextPart_001_01C44794.A33FB48F--