[Gtk-sharp-list] Install Problems

Charles Iliya Krempeaux charles@reptile.ca
16 Feb 2003 10:50:46 -0800


Hello,

On Sun, 2003-02-16 at 15:46, James Dill wrote:
> Hi People,
> 
> I've been googling like anything trying to find solutions, but can
> unfortunately find none.  So I hope someone will be able to assist.  I'm
> running Mandrake 9.

I helped install this on a friend's computer (who is running Mandrake
9.0), so I can help you.  (Although I am doing this from memory.)


> When I try and make the gtk# source, I get the following assemblies not
> found (from configure):
> 
>       * gnome-sharp.dll: yes
>       * glade-sharp.dll: no
>       * gda-sharp.dll: no
>       * gnomedb-sharp.dll: no

OK, first this is OK.  Well, OK as long as you don't want to use
Glade#, GDA#, or GnomeDB#.  (Ummm... I guess, using the new naming
convention, I mean... "OK as long as you don't want to use Glade.NET,
GDA.NET, or GnomeDB.NET.")

The Gtk# source package contains alot of different stuff besides just
the GTK+ .NET bindings.  It also contains bindings for GNOME, Glade.
GDA, GnomeDB, GStreamer, GnomePrint, libart, ATK, GConf, GDK, and
more.

As you can see, it contains alot.

So... when you are building the package from source, you don't 
necessarily have to create everything.

In your case, that message is telling you that the GNOME bindings
will be created.  However, the Glade, GDA, and GnomeDB bindings
will not.

If you want these bindings though, then get the development packages
for each of these.  (And then run "./configure" again.)


> and making gives me:
> Compilation failed: 1 error(s), 0 warnings
> make[2]: *** [gconf-sharp-peditors.dll] Error 1
> make[2]: Leaving directory
> `/home/socrates/Documents/mono/gtk-sharp-0.7/gconf/GConf.PropertyEditors'
> make[1]: *** [linux] Error 1
> make[1]: Leaving directory
> `/home/socrates/Documents/mono/gtk-sharp-0.7/gconf'
> make: *** [binding] Error 1

Well, this is OK.  Well, OK if you don't want to use the GConf
bindings.  (If you want them, then get the development packages
for GConf, and then run "./configure" again.)

> So of course the compilation fails due to glade-sharp.
> 
> Installing the rpm also sees the following errors.
> Installation failed:
>         libglade2 is needed by gtk-sharp-0.7-1
>         libgnomecanvas >= 2.0.0 is needed by gtk-sharp-0.7-1
>         libgnomedb is needed by gtk-sharp-0.7-1
>         libgnomeui >= 2.0.0 is needed by gtk-sharp-0.7-1

Don't try installing the RPM.  It won't work on Mandrake.

> Would anyone happen to know what the problem could be?  Or where I could
> get those assemblies above... ie glade-sharp etc?
> 


You may have actually created some of the RPMs.  For example, check to
see if:

    gtk-sharp-0.7/gtk/gtk-sharp.dll

exists.

One hint though, don't do a "./configure" when building this.
Instead run:

    ./configure --prefix=/usr

It will make things easier for you.  (Since, by default, Mono expects
all the .dll's to be in "/usr/lib"... and this will make it so the
Gtk# .dll's go there when you run "make install".)


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/