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

Daniel Morgan danielmorgan@verizon.net
Sat, 3 Jul 2004 17:21:00 -0400


Is the place where your mono/gtk# assemblies in the PATH ?

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


Hello Daniel,

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

Well. Actually I did the same(used prefixes), but the simplest
application doesn't work for me... I installed mono from sources to the
directory /home/vadim/mono/m-1.0/. After that I tried to install Gtk#
from sources to /home/vadim/mono/gs-1.0 but on the installation phase it
said that mono package wasn't installed on this system. Then I set up
the environment variable
PKG_CONFIG_PATH=/home/vadim/mono/m-1.0/lib/pkgconfig
and everything compiled successfully.
The problem that now I can compile any Gtk# programs, but I can't run
them, as I get the folowing mistake:

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
[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?


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