<div dir="ltr">That tutorial should go up on the mono site.  I've spent 4 days now getting nowhere with compiling mono for the first time.  I wanted to spend an hour fixing a bug... :(</div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On 4 September 2013 22:37, mlgo <span dir="ltr"><<a href="mailto:mlintner@sinenomine.net" target="_blank">mlintner@sinenomine.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<p><font size="3" face="Arial">The only difference between the old Cygwin setup for mono is the old one needed a special make and the new one uses the mingw tools so the configure line is new. I refer to that below.</font></p>

<p><font size="3" face="Arial"></font> </p>
<p><font size="3" face="Arial">When getting Cygwin get these packages</font></p>
<p><font size="3" face="Arial"></font> </p>
<p><font size="3" face="Arial">Make sure you select the following packages when installing:
</font></p>
<pre><font size="3" face="Arial">* autoconf
* automake
* bison
* gcc-core
* mingw-gcc
* libtool
* make
* python
</font></pre>
<pre><font size="3" face="Arial"><a href="http://www.mono-project.com/Compiling_Mono_on_Windows" rel="nofollow" link="external" target="_blank">http://www.mono-project.com/Compiling_Mono_on_Windows</a></font></pre>
<pre><font size="3" face="Arial"></font> </pre>
<pre><li><font size="3" face="Arial">gdb</font></li><li><font size="3" face="Arial">gettext</font></li><li><font size="3" face="Arial">intltool</font></li><li><font size="3" face="Arial">libiconv</font></li><li><font size="3" face="Arial">libtool</font></li>
<li><font size="3" face="Arial">pkg-config</font></li></pre>
<p><a href="http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle" rel="nofollow" link="external" target="_blank"><font size="3" face="Arial">http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle</font></a><font size="3" face="Arial"> </font></p>

<p><font size="3" face="Arial"></font> </p>
<p><font size="3" face="Arial">Make sure you are using a recent cygwin version. </font>
</p>
<p><font size="3" face="Arial">Select some handy utils for later use: </font></p>
<pre><font size="3" face="Arial"></font> </pre>
<pre><font size="3" face="Arial">* wget
* zip
</font></pre>
<pre><font size="3" face="Arial">Also you want </font></pre>
<pre><font size="3" face="Arial">* git</font></pre>
<pre><font size="3" face="Arial">* patch
* openssh or PuTTY
* vim</font></pre>
<pre><font size="3" face="Arial">
You will have to learn vim because you never want to edit files in Cygwin with notepad because it </font></pre>
<pre><font size="3" face="Arial">will change the line endings and it will mess things up.</font></pre>
<pre><font size="3" face="Arial"></font> </pre>
<pre><font size="3" face="Arial"></font> </pre>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><a href="http://www.mono-project.com/Compiling_Mono_on_Windows" rel="nofollow" link="external" target="_blank"><font face="Arial">http://www.mono-project.com/Compiling_Mono_on_Windows</font></a></div>

<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">Let Cygwin go to C:/cygwin not program files or another drive.</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">There are a couple of other good tutorials and they all recommend getting a special make. I think the make in Cygwin is good now so I choose that.</font></div>

<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><a href="http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html" rel="nofollow" link="external" target="_blank"><font face="Arial">http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html</font></a></div>

<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">the current make is good now from Cygwin.</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">when it is complete:</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">open a Cygwin prompt:</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">(it is on your taskbar or desktip and it is Cygwin.bat in the Cygwin directory.</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">cd  /usr/src</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">git clone git://<a href="http://github.com/mono/mono.git" target="_blank">github.com/mono/mono.git</a></font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">cd mono</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">Use the new configure:</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">$ 
<span style="text-indent:0px;letter-spacing:normal;font:medium Tahoma;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">
<font size="3">./autogen.sh --host=i686-pc-mingw32 --profile=/cygdrive/c/path to directory you want to install in</font></span></font></div>
<p><font size="3" face="Arial"><span style="text-indent:0px;letter-spacing:normal;font:medium Tahoma;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px"></span></font> </p>
<p><font size="3"><font face="Arial"><span style="text-indent:0px;letter-spacing:normal;font:medium Tahoma;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">or
 profile=/usr/local or /usr/opt   </span><span style="text-indent:0px;letter-spacing:normal;font:medium Tahoma;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">if
 you want to install in the Cygwin environment.</span></font></font></p>
<div style="font-size:16px;font-family:Times New Roman"><br style="text-indent:0px;letter-spacing:normal;font:medium Tahoma;text-transform:none;white-space:normal;word-spacing:0px">
<font face="Arial">still in the mono directory you can type</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">make</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial">make install<br>
<br>
It should be that simple</font></div>
<div style="font-size:16px;font-family:Times New Roman"><font face="Arial"></font> </div>
<div style="font-size:16px;font-family:Times New Roman">if you want to know more about mono on Cygwin with the old version, these are all good links</div>
<div style="font-size:16px;font-family:Times New Roman"><a href="http://www.mono-project.com/Compiling_Mono_on_Windows" rel="nofollow" link="external" target="_blank">http://www.mono-project.com/Compiling_Mono_on_Windows</a></div>

<div style="font-size:16px;font-family:Times New Roman"><a href="http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle" rel="nofollow" link="external" target="_blank">http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle</a></div>

<div style="font-size:16px;font-family:Times New Roman"><a href="http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html" rel="nofollow" link="external" target="_blank">http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html</a></div>

<div style="font-size:16px;font-family:Times New Roman"> </div>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="DIRECTION:ltr"><font color="#000000" face="Tahoma"><b>From:</b> londondev [via Mono] [ml-node+<a href="http://user/SendEmail.jtp?type=node&node=4660760&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>]<br>

<b>Sent:</b> Wednesday, September 04, 2013 2:48 AM<br>
<b>To:</b> Mark Lintner<br>
<b>Subject:</b> Re: mono from git will not build on cygwin 32<br>
</font><br>
</div>
<div></div>
<div><div class="im">
<div>I haven't been able to make Cygwin compile at all. Make just prints a blank line and stops. Is that what you're seeing?</div>
<div><br>
</div>
<div>Do you have any documentation on your old Cygwin environment that works?</div>
<div><br>
</div>
<div><br>
<br>
Bryan Crotaz
<div>Silver Curve</div>
</div>
</div><div class="im"><div><br>
On 4 Sep 2013, at 05:45, Zoltan Varga <<a href="https://connect.emailsrvr.com/owa/UrlBlockedError.aspx" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:<br>
<br>
</div>
</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div><div class="im">
<div dir="ltr">Hi,
<div><br>
</div>
<div>  Try running with make V=1, that will print more information.</div>
<div><br>
</div>
<div>           Zoltan</div>
</div>
</div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote"><div><div class="h5">On Wed, Sep 4, 2013 at 6:05 AM, mlgo <span dir="ltr"><<a href="https://connect.emailsrvr.com/owa/UrlBlockedError.aspx" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>

</div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5">
I updated Cygwin and now it no longer supports compilation of mono with gcc.<br>
There is no way to backlevel it. I found Zoltan's suggestion to use this<br>
configure statement:<br>
<br>
"Hi,<br>
<br>
  mono master can be built on windows using the mingw cross-compiler gcc,<br>
i.e. install the mingw-gcc package, and configure using:<br>
<br>
./autogen.sh --host=i686-pc-mingw32<br>
                  Zoltan"<br>
<br>
<br>
I'm using mono from git. Cygwin has all the recommended packages and I did<br>
not install the gcc-g++ but installed all mingw packages.  The build now<br>
always stops here. I have reinstalled Cygwin several times and pulled a new<br>
mono each time. I'm wondering now since there is a 64 bit Cygwin and a I<br>
have 64 bit machine should I be configuring with mingw64 or something.<br>
However I had the old Cygwin environment down to a science and now I'm<br>
crippled again. Has anybody seen this yet. This seems like something<br>
configure is failing to generate properly to map ming types to mono types.<br>
Zoltan will know what to do about this if anybody. It doesn't seem like it<br>
could be a bug in ming.<br>
<br>
al':<br>
process.c:912:3: warning: passing argument 1 of 'EnumProcesses' from<br>
incompatibl<br>
e pointer type [enabled by default]<br>
In file included from ../../mono/io-layer/io-layer.h:34:0,<br>
                 from ../../mono/metadata/domain-internals.h:15,<br>
                 from ../../mono/metadata/metadata-internals.h:8,<br>
                 from ../../mono/metadata/class-internals.h:10,<br>
                 from ../../mono/metadata/object-internals.h:8,<br>
                 from process.c:16:<br>
/usr/i686-pc-mingw32/sys-root/mingw/include/psapi.h:108:13: note: expected<br>
'DWOR<br>
D *' but argument is of type 'guint32 *'<br>
Makefile:2221: recipe for target `libmonoruntime_la-process.lo' failed<br>
make[3]: *** [libmonoruntime_la-process.lo] Error 1<br>
make[3]: Leaving directory `/usr/src/mono/mono/metadata'<br>
Makefile:429: recipe for target `all-recursive' failed<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/usr/src/mono/mono'<br>
Makefile:510: recipe for target `all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/usr/src/mono'<br>
Makefile:437: recipe for target `all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749.html" rel="nofollow" link="external" target="_blank">
http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749.html</a><br>
Sent from the Mono - Dev mailing list archive at <a href="http://Nabble.com" rel="nofollow" link="external" target="_blank">
Nabble.com</a>.<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
</div></div><a href="https://connect.emailsrvr.com/owa/UrlBlockedError.aspx" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" rel="nofollow" link="external" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote style="border-left:2px solid #cccccc;padding:0 1em" type="cite">
<div><span>_______________________________________________</span><br>
<span>Mono-devel-list mailing list</span><br>
<span><a href="https://connect.emailsrvr.com/owa/UrlBlockedError.aspx" rel="nofollow" link="external" target="_blank">[hidden email]</a></span><br>
<span><a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" rel="nofollow" link="external" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a></span><br>
</div>
</blockquote>
<br>
_______________________________________________ <br>
Mono-devel-list mailing list <br>
<a href="https://connect.emailsrvr.com/owa/UrlBlockedError.aspx" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" rel="nofollow" link="external" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br>
<br>
<hr color="#cccccc" size="1" noshade>
<div style="COLOR:#444;FONT:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="FONT-WEIGHT:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4660751.html" rel="nofollow" link="external" target="_blank">http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4660751.html</a>
</div>
<div style="COLOR:#666;FONT:11px/1.5em tahoma,geneva,helvetica,arial,sans-serif;MARGIN-TOP:0.4em">
To unsubscribe from mono from git will not build on cygwin 32, <a rel="nofollow" link="external">
click here</a>.<br>
<a style="FONT:9px serif" href="http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" link="external" target="_blank">NAML</a>
</div>
</div>
</div>
</div>




        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4660760.html" target="_blank">RE: mono from git will not build on cygwin 32</a><div class="HOEnZb">
<div class="h5"><br>
Sent from the <a href="http://mono.1490590.n4.nabble.com/Mono-Dev-f1517221.html" target="_blank">Mono - Dev mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bryan Crotaz<div>Managing Director<br><div>Silver Curve</div></div>
</div>