[Mono-list] Is it possible to install and run Gtk# without a root privilegies?

Vadim B. Guzev Vadim B. Guzev" <vguzev@yandex.ru
Fri, 2 Jul 2004 20:07:19 +0400


Hello ,

I'm wondering if it's possible to install Gtk# (on clean RedHat
system) and run HelloWorld example without root privilegies?
I was able to install Mono 1.0 and GTK# 1.0 from sources (although I had to
define PKG_CONFIG_PATH and MONO_PATH environment variables manually).

I can now compile the simple Gtk# HelloWorld program:

8<------------------------------------------------
[vadim@skif basic.and.gtk]$ mbas gtk.vb -r gtk-sharp
--------
MonoBASIC: THIS IS STILL ALPHA AND UNSUPPORTED SOFTWARE, USE AT YOUR OWN RISK.
--------
Compilation succeeded
8<------------------------------------------------

But when I run it I'm getting the following:
8<------------------------------------------------
[vadim@skif basic.and.gtk]$ mono gtk.exe

Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
in <0x00053> (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
in <0x00038> Gtk.Application:Init ()
in <0x00014> GtkTest:Main ()
8<------------------------------------------------

Any ideas? Is it possible at all?


Best regards,
Vadim B. Guzev
http://u.pereslavl.ru/~vadim/MCSharp/