[Mono-list] Error compiling MCS

Andrew Birkett andy@nobugs.org
25 Sep 2002 08:40:55 +0100


On Tue, 2002-09-24 at 22:14, Ales Vojacek wrote:
> MONO_PATH=../../class/lib: mono ../../mcs/mcs.exe --target
> error CS0006: Cannot find assembly `System.EnterpriseServices'
> error CS0006: Cannot find assembly `System.Web'

Hmm, it looks like the $MONO_PATH environment variable isn't working as
planned.  It should be telling 'mono' to look for dlls in
../../class/lib rather than just the installed version's 'lib' directory
(which is what appears to be happening).  

For now, follow the instructions at:

http://lists.ximian.com/archives/public/mono-list/2002-September/001913.html

And at the point where you get the above error message, copy
System.Web.dll and System.EnterpriseServices.dll from ../../class/lib
into your $(mono_cvs_install_dir)/lib.  Hopefully that should let you
bootstrap.

Andrew