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

Vadim B. Guzev Vadim B. Guzev" <vguzev@yandex.ru
Sun, 4 Jul 2004 00:36:58 +0400


Hello Daniel,

DM> If you build Mono and GTK# from source tarballs, on the configure line,
DM> set your prefix.
DM> ./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/