[Mono-dev] Problems Compiling Mono in Cygwin

Jonathan Chambers joncham at gmail.com
Fri Jan 4 11:00:50 EST 2008


Hello,
     Just noting that I see the first issue when trying to build a clean
checkout of svn. I don't see it when I build svn in a sandbox that has
existed a while. Not quite sure what is happening.


Thanks,
Jonathan


On Dec 14, 2007 11:21 AM, Rolf Bjarne Kvinge <rolflists at ya.com> wrote:

> Hi,
>
> >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.cs in
> 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.
>
> I investigated a bit regarding the first issue, and it looks like a cygwin
> weirdness. The following patch works around the issue, but I have no idea
> what's causing it in the first place (and why it doesn't happen on
> monobuild
> for instance). It might even be a cygwin regression, this code hasn't
> changed in years.
>
> Index: Makefile
> ===================================================================
> --- Makefile    (revision 91271)
> +++ Makefile    (working copy)
> @@ -106,7 +106,9 @@
>
>  Mono.Xml.Xsl/PatternParser.cs: Mono.Xml.Xsl/PatternParser.jay
> $(topdir)/jay/skeleton.cs
>        echo "#define XSLT_PATTERN" > $@
> -       $(topdir)/jay/jay -ct $< < $(topdir)/jay/skeleton.cs >>$@
> +       $(topdir)/jay/jay -ct $< < $(topdir)/jay/skeleton.cs > tmp
> +       cat tmp >> $@
> +       rm -f tmp
>
>  Mono.Xml.Xsl/PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
>        echo "#define XSLT_PATTERN" > $@
>
> Rolf
>
>
>
>
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080104/ec01ec65/attachment.html 


More information about the Mono-devel-list mailing list