[Mono-dev] mono from git will not build on cygwin 32

Bryan Crotaz bryan.crotaz at silvercurve.co.uk
Wed Sep 4 22:36:03 UTC 2013


After ./autogen.sh ...

I get:

Running ./configure --enable-maintainer-mode --enable-compile-warnings
--host=i686-pc-mingw32 --profile=/cygdrive/c/mono ...
configure: error: unrecognized option: `--profile=/cygdrive/c/mono'
Try `./configure --help' for more information



On 4 September 2013 22:37, mlgo <mlintner at sinenomine.net> wrote:

>  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.
>
>
>
> When getting Cygwin get these packages
>
>
>
> Make sure you select the following packages when installing:
>
> * autoconf
> * automake
> * bison
> * gcc-core
> * mingw-gcc
> * libtool
> * make
> * python
>
> http://www.mono-project.com/Compiling_Mono_on_Windows
>
>
>
> gdb
> gettext
> intltool
> libiconv
> libtool
> pkg-config
>
>
> http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle
>
>
>
>
> Make sure you are using a recent cygwin version.
>
> Select some handy utils for later use:
>
>
>
> * wget
> * zip
>
> Also you want
>
> * git
>
> * patch
> * openssh or PuTTY
> * vim
>
>
> You will have to learn vim because you never want to edit files in Cygwin with notepad because it
>
> will change the line endings and it will mess things up.
>
>
>
>
>
>
> http://www.mono-project.com/Compiling_Mono_on_Windows
>
> Let Cygwin go to C:/cygwin not program files or another drive.
>
> 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.
>
> http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html
>
> the current make is good now from Cygwin.
>
> when it is complete:
> open a Cygwin prompt:
> (it is on your taskbar or desktip and it is Cygwin.bat in the Cygwin
> directory.
>
> cd  /usr/src
> git clone git://github.com/mono/mono.git
>
> cd mono
>
> Use the new configure:
>
> $  ./autogen.sh --host=i686-pc-mingw32 --profile=/cygdrive/c/path to
> directory you want to install in
>
>
>
> or profile=/usr/local or /usr/opt   if you want to install in the Cygwin
> environment.
>
> still in the mono directory you can type
>
> make
>
> make install
>
> It should be that simple
>
> if you want to know more about mono on Cygwin with the old version, these
> are all good links
> http://www.mono-project.com/Compiling_Mono_on_Windows
>
> http://www.codeproject.com/Articles/19575/Building-Mono-on-Windows-the-final-battle
> http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html
>
>  ------------------------------
> *From:* londondev [via Mono] [ml-node+[hidden email]<http://user/SendEmail.jtp?type=node&node=4660760&i=0>
> ]
> *Sent:* Wednesday, September 04, 2013 2:48 AM
> *To:* Mark Lintner
> *Subject:* Re: mono from git will not build on cygwin 32
>
>   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?
>
>  Do you have any documentation on your old Cygwin environment that works?
>
>
>
> Bryan Crotaz
> Silver Curve
>
> On 4 Sep 2013, at 05:45, Zoltan Varga <[hidden email]<https://connect.emailsrvr.com/owa/UrlBlockedError.aspx>>
> wrote:
>
>   Hi,
>
>    Try running with make V=1, that will print more information.
>
>             Zoltan
>
>
> On Wed, Sep 4, 2013 at 6:05 AM, mlgo <[hidden email]<https://connect.emailsrvr.com/owa/UrlBlockedError.aspx>
> > wrote:
>
>> I updated Cygwin and now it no longer supports compilation of mono with
>> gcc.
>> There is no way to backlevel it. I found Zoltan's suggestion to use this
>> configure statement:
>>
>> "Hi,
>>
>>   mono master can be built on windows using the mingw cross-compiler gcc,
>> i.e. install the mingw-gcc package, and configure using:
>>
>> ./autogen.sh --host=i686-pc-mingw32
>>                   Zoltan"
>>
>>
>> I'm using mono from git. Cygwin has all the recommended packages and I did
>> not install the gcc-g++ but installed all mingw packages.  The build now
>> always stops here. I have reinstalled Cygwin several times and pulled a
>> new
>> mono each time. I'm wondering now since there is a 64 bit Cygwin and a I
>> have 64 bit machine should I be configuring with mingw64 or something.
>> However I had the old Cygwin environment down to a science and now I'm
>> crippled again. Has anybody seen this yet. This seems like something
>> configure is failing to generate properly to map ming types to mono types.
>> Zoltan will know what to do about this if anybody. It doesn't seem like it
>> could be a bug in ming.
>>
>> al':
>> process.c:912:3: warning: passing argument 1 of 'EnumProcesses' from
>> incompatibl
>> e pointer type [enabled by default]
>> In file included from ../../mono/io-layer/io-layer.h:34:0,
>>                  from ../../mono/metadata/domain-internals.h:15,
>>                  from ../../mono/metadata/metadata-internals.h:8,
>>                  from ../../mono/metadata/class-internals.h:10,
>>                  from ../../mono/metadata/object-internals.h:8,
>>                  from process.c:16:
>> /usr/i686-pc-mingw32/sys-root/mingw/include/psapi.h:108:13: note: expected
>> 'DWOR
>> D *' but argument is of type 'guint32 *'
>> Makefile:2221: recipe for target `libmonoruntime_la-process.lo' failed
>> make[3]: *** [libmonoruntime_la-process.lo] Error 1
>> make[3]: Leaving directory `/usr/src/mono/mono/metadata'
>> Makefile:429: recipe for target `all-recursive' failed
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/usr/src/mono/mono'
>> Makefile:510: recipe for target `all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/src/mono'
>> Makefile:437: recipe for target `all' failed
>> make: *** [all] Error 2
>>
>>
>>
>> --
>> View this message in context:
>> http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749.html
>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>> _______________________________________________
>> Mono-devel-list mailing list
>> [hidden email] <https://connect.emailsrvr.com/owa/UrlBlockedError.aspx>
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
>   _______________________________________________
> Mono-devel-list mailing list
> [hidden email] <https://connect.emailsrvr.com/owa/UrlBlockedError.aspx>
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> _______________________________________________
> Mono-devel-list mailing list
> [hidden email] <https://connect.emailsrvr.com/owa/UrlBlockedError.aspx>
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4660751.html
>  To unsubscribe from mono from git will not build on cygwin 32, click here
> .
> NAML<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>
>
> ------------------------------
> View this message in context: RE: mono from git will not build on cygwin
> 32<http://mono.1490590.n4.nabble.com/mono-from-git-will-not-build-on-cygwin-32-tp4660749p4660760.html>
>
> Sent from the Mono - Dev mailing list archive<http://mono.1490590.n4.nabble.com/Mono-Dev-f1517221.html>at Nabble.com.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


-- 
Bryan Crotaz
Managing Director
Silver Curve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130904/09d2ff4c/attachment-0001.html>


More information about the Mono-devel-list mailing list