<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Courier New";
        color:#990000;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I had the same problem &#8211; fortunately, the
solution is trivial.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>See <a
href="http://www.codeproject.com/useritems/mono_on_windows.asp">http://www.codeproject.com/useritems/mono_on_windows.asp</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Unfortunately, TortoiseSVN doesn't allow you to specify
export switches. So, in this case open the </span></font><code><font size=2
color="#990000" face="Courier New"><span style='font-size:11.0pt'>c:/cygwin/download/mono/mcs/mkinstalldirs</span></font></code><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'> file in
Notepad++ and click the Format &gt; Convert to UNIX format. Then save the file
and close the editor.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Gary</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
mono-devel-list-bounces@lists.ximian.com
[mailto:mono-devel-list-bounces@lists.ximian.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Paul Austin<br>
<b><span style='font-weight:bold'>Sent:</span></b> 21 November 2007 16:31<br>
<b><span style='font-weight:bold'>To:</span></b>
mono-devel-list@lists.ximian.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Mono-dev] hiccup on
building Mono on cygwin from SVN</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><font size=2><span style='font-size:10.0pt'>I&#8217;m building Mono on
Cygwin and running into a bit of &nbsp;a bump. </span></font><br>
<font size=2><span style='font-size:10.0pt'>Though first I&#8217;d like to say thanks
for the detailed instructions from Andreia site, they have been a great help.</span></font>
<br>
<br>
<font size=2><span style='font-size:10.0pt'>&nbsp;basic background:</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>Installed mono for windows.
&nbsp;=&gt; &nbsp;1.2.5.1 in C:\Mono-1.2.5.2</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Installed cygwin per instruction (
omitting &nbsp;make and glib2, setup .bashrc)</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Installed the special make 3.80
from mono&#8211;project</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Got sources (mono and mcs) put them
in c:\cygwin\usr\src\mono</span></font> <br>
<br>
<font size=2><span style='font-size:10.0pt'>Autogen &nbsp;( seems to run fine)</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>Make goes pretty far</span></font> <br>
<font size=2><span style='font-size:10.0pt'>I had the typical CRLF problems
described regarding mkinstalldir ( thanks again for the note). &nbsp;Changed to
LFs did a clean and tried again.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>&nbsp;</span></font> <br>
<font size=2><span style='font-size:10.0pt'>The main hiccup shows up when
building System.XML</span></font> <br>
<font size=2><span style='font-size:10.0pt'>A few lines from the log are below</span></font>
<br>
<br>
<font size=2><span style='font-size:10.0pt'>Any ideas?</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Thanks</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Paul Austin</span></font> <br>
<br>
<font size=2><span style='font-size:10.0pt'>make[8]: Entering directory
`/usr/src/mono/mcs/class/System.XML'</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Creating
../../build/deps/basic_System.Xml.dll.response ...</span></font> <br>
<font size=2><span style='font-size:10.0pt'>../../jay/jay -ct &lt;
../../jay/skeleton.cs System.Xml.XPath/Parser.jay &gt;System.Xm</span></font> <br>
<font size=2><span style='font-size:10.0pt'>l.XPath/Parser.cs</span></font> <br>
<font size=2><span style='font-size:10.0pt'>C:\cygwin\usr\src\mono\mcs\jay\jay.exe:
21 rules never reduced</span></font> <br>
<font size=2><span style='font-size:10.0pt'>C:\cygwin\usr\src\mono\mcs\jay\jay.exe:
1 shift/reduce conflict, 42 reduce/reduc</span></font> <br>
<font size=2><span style='font-size:10.0pt'>e conflicts.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>echo &quot;#define
XSLT_PATTERN&quot; &gt; Mono.Xml.Xsl/PatternParser.cs</span></font> <br>
<font size=2><span style='font-size:10.0pt'>../../jay/jay -ct Mono.Xml.Xsl/PatternParser.jay
&lt; ../../jay/skeleton.cs &gt;&gt;Mono.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Xml.Xsl/PatternParser.cs</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>C:\cygwin\usr\src\mono\mcs\jay\jay.exe:
3 rules never reduced</span></font> <br>
<font size=2><span style='font-size:10.0pt'>C:\cygwin\usr\src\mono\mcs\jay\jay.exe:
1 shift/reduce conflict, 46 reduce/reduc</span></font> <br>
<font size=2><span style='font-size:10.0pt'>e conflicts.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>echo &quot;#define XSLT_PATTERN&quot;
&gt; Mono.Xml.Xsl/PatternTokenizer.cs</span></font> <br>
<font size=2><span style='font-size:10.0pt'>cat System.Xml.XPath/Tokenizer.cs
&gt;&gt;Mono.Xml.Xsl/PatternTokenizer.cs</span></font> <br>
<font size=2><span style='font-size:10.0pt'>MONO_PATH=&quot;../../class/lib/basic;$MONO_PATH&quot;
/usr/src/mono/mono/runtime/mono-wra</span></font> <br>
<font size=2><span style='font-size:10.0pt'>pper
&nbsp;../../class/lib/basic/mcs.exe /codepage:65001 &nbsp;/nologo /optimize
-d:NET_1_</span></font> <br>
<font size=2><span style='font-size:10.0pt'>1 -d:ONLY_1_1
-d:BOOTSTRAP_WITH_OLDLIB /debug+ /debug:full /noconfig -r:mscorlib</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>.dll -r:System.dll
-nowarn:0162,0618,0612,0642,1595 -target:library -out:System.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Xml.dll `echo
System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs Mono.Xml.</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>Xsl/PatternTokenizer.cs | tr '/'
'\\\\'` @../../build/deps/basic_System.Xml.dll.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>response</span></font> <br>
<font size=2><span style='font-size:10.0pt'>/usr/src/mono/mono/libtool: line
6847: LANG: command not found</span></font> <br>
<font size=2><span style='font-size:10.0pt'>/usr/src/mono/mono/libtool: line
6847: LC_ALL: command not found</span></font> <br>
<font size=2><span style='font-size:10.0pt'>/usr/src/mono/mono/libtool: line
6847: LC_CTYPE: command not found</span></font> <br>
<font size=2><span style='font-size:10.0pt'>/usr/src/mono/mono/libtool: line
6847: LC_COLLATE: command not found</span></font> <br>
<font size=2><span style='font-size:10.0pt'>/usr/src/mono/mono/libtool: line
6847: LC_MESSAGES: command not found</span></font> <br>
<font size=2><span style='font-size:10.0pt'>Cannot open assembly
../../class/lib/basic/mcs.exe.</span></font> <br>
<font size=2><span style='font-size:10.0pt'>make[8]: *** [../../class/lib/basic/System.Xml.dll]
Error 2</span></font> <br>
<font size=2><span style='font-size:10.0pt'>make[8]: Leaving directory
`/usr/src/mono/mcs/class/System.XML'</span></font> <br>
<font size=2><span style='font-size:10.0pt'>make[7]: *** [do-all] Error 2</span></font>
<br>
<font size=2><span style='font-size:10.0pt'>make[7]: Leaving directory
`/usr/src/mono/mcs/class/System.XML'</span></font> <br>
<font size=2><span style='font-size:10.0pt'>make[6]: *** [all-recursive] Error
1</span></font> <o:p></o:p></p>

</div>

</body>

</html>