[Mono-dev] RE: Mono 1.1.13.8 compilation problems

William Lahti xfurious at gmail.com
Fri Aug 11 13:26:13 EDT 2006


make uninstall would be baad. my mono is in /System/Software/Mono-1.1.9 so
it wouldn't know how to uninstall it :) (nor would I want to lose my proven
working copy of mono before this one works).

OK, so I unlinked my current mono installation temporarily:

[root at jeto mono-1.1.13.8]# rm /System/Software/Current/Mono
[root at jeto mono-1.1.13.8]# mono
Bash: /bin/mono: No such file or directory

Then I reconfigured, and make'd, and got several errors about "mcs being
unusable", and then "mono-lite is out of date, update with make so-and-so".

Then I did make clean; make. Same "mcs unusable" errors:

make[6]: Entering directory `/Users/Fury/Sources/mono- 1.1.13.8/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/Users/Fury/Sources/mono-1.1.13.8/mcs'
build/deps/basic-profile-check.cs(1,7): error CS8025: Parsing error
make[8]: *** [build/deps/basic- profile-check.exe] Error 1
make[8]: Entering directory `/Users/Fury/Sources/mono-1.1.13.8/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1

I don't think I want monolite so I removed the sources and unpacked a fresh
copy and redid the whole thing. Resulted in the mcs unusable errors again,
but now complains about Corlib being _too new_ for the runtime:

Corlib not in sync with this runtime: expected corlib version 47, found 54.
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

I've double checked that none of my previous mono installation files are
accessible from the new mono source and cleared and unset my MONO_PATH
variable.


On 8/11/06, Rafael Teixeira <monoman at gmail.com> wrote:
>
> Seems like you may have mixed versions, could you try a clean install?
> warning: make uninstall is not reliable in this situation.
>
> On 8/10/06, William Lahti < xfurious at gmail.com > wrote:
> > I'm not sure if this is the right place because this (just maybe) could
> be a
> > site-specific problem, but mcs isn't supposed to die with uncaught
> > exceptions anyway so:
> >
> > While trying to upgrade my mono from 1.1.9 to 1.1.13.8, mcs had an
> uncaught
> > exception compiling the System.Xml library. Specifically:
> >
> > make[8]: Entering directory
> > `/Users/Fury/Sources/mono- 1.1.13.8/mcs/class/System.XML '
> > MONO_PATH="../../class/lib/basic:$MONO_PATH"
> > /Users/Fury/Source/mono- 1.1.13.8/runtime/mono-wrapper
> > ../../class/lib/basic/mcs.exe /codepage:28591   -d:NET_1_1 -d:ONLY_1_1
> > -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -r: mscorlib.dll -r:System.dll
> > -nowarn:0162,0618,0612,0642,1595 -target:library
> > -out:System.Xml.dll System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs
>
> > Mono.Xml.Xsl/PatternTokenizer.cs @System.Xml.dll.sources
> >
> > Unhandled Exception: System.ObjectDisposedException: The object was used
> > after being disposed.
> > in <0x000ea> System.IO.FileStream:Read (System.Byte[] dest, Int32
> > dest_offset, Int32 count)
> > in <0x00039> System.IO.StreamReader:ReadBuffer ()
> > in <0x00101> System.IO.StreamReader:ReadLine ()
> > in <0x00250> Mono.CSharp.Driver:LoadArgs (System.String file)
> > in <0x0022a> Mono.CSharp.Driver:MainDriver (System.String[] args)
> > in <0x00041> Mono.CSharp.Driver:Main (System.String[] args)
> > make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 1
> >
> > Adding --debug to the mono-wrapper command results in the same output
> with a
> > few warnings:
> >
> > ** (../../class/lib/basic/mcs.exe:30967): WARNING **:
> > Symbol file /Users/Fury/Sources/mono-
> > 1.1.13.8/mcs/class/lib/basic/mscorlib.dll.mdb has incorrect
> > version (expected 39, got 38)
> >
> > ** (../../class/lib/basic/mcs.exe:30967): WARNING **:
> > Symbol file /Users/Fury/Sources/mono-
> > 1.1.13.8/mcs/class/lib/basic/mcs.exe.mdb has incorrect
> > version (expected 39, got 38)
> >
> > ** (../../class/lib/basic/mcs.exe:30967): WARNING **:
> > Symbol file /Users/Fury/Sources/mono-
> > 1.1.13.8/mcs/class/lib/basic/System.dll.mdb has incorrect
> > version (expected 39, got 38)
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
> >
>
>
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man." George Bernard Shaw
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060811/3acb1900/attachment.html 


More information about the Mono-devel-list mailing list