[Mono-dev] Problems Compiling Mono in Cygwin

Luke Page luke.a.page at gmail.com
Fri Dec 14 08:52:17 EST 2007


I apologise for a third email.

When I put mscorlib in the place it sugests (in order to try out just that
command on its own) it just crashes in the same way as the build, suggesting
mscorlib problem is a red-herring : The real problem is compiler-tester
throwing an unhandled exception during a cygwin build.

Is there a way to bypass running compiler-tester or a possible reason why it
would fail without an error message during a build?

On Dec 14, 2007 10:59 AM, Luke Page <luke.a.page at gmail.com> wrote:

> I've tried another 9 times. It always fails in the same place. Do you have
> any other ideas as to what could be causing this problem?
>
>
> On Dec 14, 2007 10:05 AM, Luke Page < luke.a.page at gmail.com> wrote:
>
> > #2 did once occur in a different place (System.XML.Linq ) and then
> > continued on to compiler-test the next make I tried, but I then tried make 3
> > times in a row without it moving off compiler-test. Since maybe I was
> > unlucky, I'll have a go at trying it a few more times.
> >
> > Regards,
> > Luke
> >
> >
> > On Dec 14, 2007 10:06 AM, Rolf Bjarne Kvinge <rolflists at ya.com> wrote:
> >
> > >  Hi,
> > >
> > >
> > >
> > > #2 has happened to me a couple of times too when running 'make'. It's
> > > a very sporadic error which occurs once in a while and in different places,
> > > so what I did was running make again until it finished successfully (it
> > > always got a little bit further while compiling, until it finished
> > > successfully).
> > >
> > >
> > >
> > > Rolf
> > >
> > >
> > >
> > > *From:* mono-devel-list-bounces at lists.ximian.com [mailto:
> > > mono-devel-list-bounces at lists.ximian.com] *On Behalf Of *Luke Page
> > > *Sent:* viernes, 14 de diciembre de 2007 10:54
> > > *To:* mono-devel-list at lists.ximian.com
> > > *Subject:* [Mono-dev] Problems Compiling Mono in Cygwin
> > >
> > >
> > >
> > > Hello,
> > >
> > > I am currently pulling my hair out over compiling the latest trunk of
> > > mono from SVN. I have XP SP2 and am following Shana's guide as suggested by
> > > the mono website (http://shana.iidbbs.com/en/mono_cygwin_tutorial.html
> > > ).
> > >
> > > The first problem may be irrelevant, as I solved it, but it does seem
> > > strange.
> > >
> > > Problem 1:
> > > The compiler failed to build System.XML, with the the following
> > > messages
> > >
> > > http://pastebin.com/m4d643bd9
> > >
> > > It appeared that even though the makefile specified it and the echo
> > > command was on the shell output, no define was put in PatternParser.csin
> > > System.XML/Mono.Xml.Xsl which meant it was identical to "
> > > System.Xml.XPath\Parser.cs".
> > >
> > > I added the define at the top of the generated PatternParser.cs file
> > > and the build continued.
> > >
> > > Using the new 1.2.6 source tar ball the build then finished and
> > > appears to work. With the SVN build I got the second problem. I then
> > > uninstalled Cygwin and installed it again, re-got the SVN and tried
> > > compiling again. I fixed problem 1 again and still got problem 2. I then
> > > tried a "make distclean" in case the previous failure caused some problems.
> > > I tried re-getting the SVN again and fixing problem 1 before attempting a
> > > build, all without success.
> > >
> > > Problem 2:
> > >
> > > I get a microsoft unhandled exception message, with no output error (
> > > http://pastebin.com/m58cea243). When I try running the command from
> > > the log in the same directory I get the following error and no unhandled
> > > exception message.
> > >
> > > The assembly mscorlib.dll was not found or could not be loaded.
> > > It should have been installed in the
> > > `G:\cygwinmono\usr\src\mono\mono\mono\mini\lib\mono\2.0\mscorlib.dll'
> > > directory.
> > >
> > > The directory part "lib\mono\2.0" doesn't exist. When I try using
> > > 1.2.6 dll's in this location it complains of a version mis-match,
> > > wanting version 63 instead of 60.
> > >
> > > I've tried everything I can think of and would now really appreciate
> > > any help or suggestions as to what to try next.
> > >
> > > Is it possible the SVN is now broken when building in windows and I
> > > need to go back to 1.2.6 and then only update the section of code I
> > > want to update? I'm obviously not relishing this choice.
> > >
> > > Regards,
> > >
> > > Luke
> > >
> >
> >
> >
> > --
> > Luke Page - 07790587889 - Ex Libris Records
> >
> > www.exlibrisrecords.co.uk - a creative & challenging independent record
> > label, with wolves.
>
>
>
>
> --
> Luke Page - 07790587889 - Ex Libris Records
>
> www.exlibrisrecords.co.uk - a creative & challenging independent record
> label, with wolves.
>



-- 
Luke Page - 07790587889 - Ex Libris Records

www.exlibrisrecords.co.uk - a creative & challenging independent record
label, with wolves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071214/eb8ec89c/attachment.html 


More information about the Mono-devel-list mailing list