[Mono-list] Monodoc 0.9 installation

Chris Vickerson chris@vickerson.net
Thu, 15 Jan 2004 15:06:53 -0500

>Although I think it would be wise to keep mono/gtk#/etc in the same
>prefix, you can use the MONO_PATH variable to tell mono where to look.
...totally agree that I shouldn't have my installation all over the 
place.  I'm not really sure if the fact that mcs can't find the dlls by 
default is related to why monodoc can't find the dlls but it seems to 
make sense (for now).  I tried what you said:

[root@localhost lib]# MONO_PATH=/usr/lib
[root@localhost lib]# cd /home/chrisv
[root@localhost chrisv]# mcs test.cs /r:gtk-sharp
error CS0006: Cannot find assembly `gtk-sharp'

Compilation failed: 1 error(s), 0 warnings
[root@localhost chrisv]# echo $MONO_PATH

...and it failed.  Just to show that it does work:

[root@localhost chrisv]# mcs test.cs /r:/usr/lib/gtk-sharp
Compilation succeeded