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

Daniel Morgan danielmorgan@verizon.net
Sat, 3 Jul 2004 16:10:24 -0400


Sure, you can install it to a prefix that does not require root
privileges.

If you build Mono and GTK# from source tarballs, on the configure line,
set your prefix.
./configure --prefix=/home/danmorg/mono
So when you do, make, make install, it will put the stuff in
/home/danmorg/mono.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Vadim B. Guzev
Sent: Friday, July 02, 2004 12:07 PM
To: mono-list
Subject: [Mono-list] Is it possible to install and run Gtk# without a
root privilegies?


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/

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list