[ 
https://issues.apache.org/jira/browse/THRIFT-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698694#comment-14698694
 ] 

ASF GitHub Bot commented on THRIFT-3295:
----------------------------------------

GitHub user nsuke opened a pull request:

    https://github.com/apache/thrift/pull/586

    THRIFT-3295 C# library does not build on Mono 4.0.2.5 or later

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nsuke/thrift THRIFT-3295

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/586.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #586
    
----
commit be42ebfb6bfca0e2e925d42ad2a6a7aa55d5aeec
Author: Nobuaki Sukegawa <nsu...@gmail.com>
Date:   2015-08-16T13:30:45Z

    THRIFT-3295 C# library does not build on Mono 4.0.2.5 or later

----


> C# library does not build on Mono 4.0.2.5 or later
> --------------------------------------------------
>
>                 Key: THRIFT-3295
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3295
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process, C# - Library
>            Reporter: Nobuaki Sukegawa
>
> Mono C# compiler gmcs has been available as backward compatibility script for 
> years.
> http://www.mono-project.com/docs/about-mono/languages/csharp/
> {quote}
> Starting with Mono version 2.11 a new unified compiler mcs is available. It 
> replaces all previous runtime specific compilers (gmcs, dmcs, smcs). They 
> still exist (as scripts only) to ease the migration path to mcs but we 
> strongly recommend to use mcs.
> {quote}
> But Mono 4.0.2.5 and later no longer ships with it.
> https://github.com/mono/mono/commit/b304ec5e0e694ef7098e0fc3eba9dbc0162f4568
> This makes it impossible to build Thrift C# library on modern Mono.
> The patch does the following
> * check mono version and availability of mcs executable
> * if mono >= 2.11 and mcs is there, use mcs
> * if not, use gmcs and nothing changes as before



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to