[Mono-devel-list] RE: Windows problems
asmith+mjpeg-users at wgz.com
Fri Aug 29 20:21:42 EDT 2003
> El jue, 28-08-2003 a las 19:58, DavidM escribió:
> > I am trying to get mono.exe to run under Windows XP.
> > MCS works fine, the exe produced runs just like a .Net app and in fact uses the .Net 1.1 libarary.
> > Mint works fine but Mono does not.
> > Currently it is returning the following error:
> > The assembly corlib.dll was not found or could not be loaded.
> > It should have been installed in the `C:/cygwin/home/Administrator/monodist/lib' directory.
> > Where is it getting this directory from?
> Try setting MONO_PATH environment variable to a list of directories
> suitable for you (ie., c:/where/you/installed/mono).
> You may also need to set MONO_CFG_DIR to the 'etc' directory (used to
> locate machine.config) and MONO_CONFIG to the file name located in
> 'etc/config' for runtime configuration file.
I ran into the same problem as DavidM. After failing to compile using
mono-build-w32.sh, I took another crack at using the packaged win32 binaries.
This time from a bash prompt. Gonzalo's recommendations gave me some hope,
but I still couldn't make it find corlib.dll. Then I remembered seeing
the .exe.sh files in the bin directory. I was able to run mono.exe.sh
once I added quotes around the pathnames. My final working mono.exe.sh
export MONO_PATH="C:/Program Files/Mono-0.26/lib"
export MONO_CFG_DIR="C:/Program Files/Mono-0.26/etc/mono"
"C:/Program Files/Mono-0.26/bin/mono.exe" "$@"
The MONO_CFG_DIR gave me a chuckle, after I recovered from panicking.
mono-0.26-win32 doesn't HAVE an .../etc directory. Looks like
0.25 had it, but it's gone now. Seems to work fine without it so far.
Could someone add the some reference to MONO_PATH in the
"Installing Mono on Windows, the easy way" section of
note on why mono-build-w32.sh failed :
on line 49,
cvs -z3 checkout mono || exit -1
it bails if anything out of the ordinary occurs during the CVS checkout.
It shouldn't be a problem for compiling, but this hiccup in the
checkout stops the script promptly:
cvs checkout: move away mono/libgc/mips_sgi_mach_dep.s; it is in the way
[checkout continues but returns a nonfatal error code]
Two files differentiated only by capitalization. :(
Bad windows XP, bad NTFS.
More information about the Mono-devel-list