[Mono-list] Installing mono - without su rights

Jonathan Stowe gellyfish@gellyfish.com
Mon, 05 Apr 2004 12:19:20 +0100


On Thu, 2004-04-01 at 20:39, Tom Wilkie wrote:
> Hi there
> 
> I don't know if this can be done - I assume it can.
> 
> I have access to a linux box on the web, just a user account, and I 
> wanted to install mono on it.  I managed to get glib and pkgconfig 
> compiled and installed under ~/mono/ and have set $LD_LIBRARY_PATH to 
> /home/tw275/mono/lib and $LDFLAGS to -L/home/tw275/mono/lib and 
> ./configure'd every thing with --PREFIX=/home/tw275/mono but when I do 
> a make, I get this error:
> 
> Making all in monoburg
> make[3]: Entering directory `/home/tw275/mono/mono-0.31/mono/monoburg'
> bison ./monoburg.y -o parser.c
> gcc -o monoburg ./monoburg.c parser.c -pthread 
> -I/home/tw275/mono/include/glib-2.0 
> -I/home/tw275/mono/lib/glib-2.0/include   -I.  -pthread 
> -L/home/tw275/mono/lib -lgthread-2.0 -lglib-2.0
> ./monoburg ./sample.brg > sample.c
> ./monoburg: error while loading shared libraries: libgthread-2.0.so.0: 
> cannot open shared object file: No such file or directory

You will need to add "/home/tw275/mono/lib" to the LD_LIBRARY_PATH
environment variable so that the dynamic loader knows to look there for
the libraries when a program is run.

> make[3]: *** [sample.c] Error 127
> make[3]: Leaving directory `/home/tw275/mono/mono-0.31/mono/monoburg'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/tw275/mono/mono-0.31/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/tw275/mono/mono-0.31'
> make: *** [all] Error 2
> 
> I have checked in the /home/tw275/mono/lib/ directory and 
> libgthread-2.0.so.0 exists.  What have I done wrong?
> 
> I couldn't get mono to work on my mac, so I thought I'd try on this 
> linux box.  I have sftp and ssh access to it. It runs debian, but i 
> can't use apt-get because I don;t have su rights ;-)  I think the 
> kernel is  2.4.25 but I can;t be sure, they may have updated recently.
> 
> Any one help?  Thanks.
> 
> Tom
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list