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

Benjamin Marwell commented on THRIFT-5451:
------------------------------------------

TBH, I consider this a MAJOR issue with thrift, at least for java devs. It is 
very common for Maven projects that no further dependencies are installed on 
the system, except maybe an additional JDK – but that is it. Prettier is being 
downloaded via a maven plugin, nodejs via maven plugin, etc.

Thrift doesn't even provide binaries, AND it is hard to build on MacOS. Plus, 
there is a big chance users do not have the ability to run docker in all 
environments (locally, CI).

> Thrift compiler binary distributions
> ------------------------------------
>
>                 Key: THRIFT-5451
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5451
>             Project: Thrift
>          Issue Type: Wish
>          Components: Build Process
>         Environment: Mac OS "Big Sur" which ships with bison 2.3.
>            Reporter: Benjamin Marwell
>            Priority: Minor
>
> Hi everyone,
> Windows distributions are available due to 
> https://issues.apache.org/jira/browse/THRIFT-871.
> It would be great to have a compiler for more platforms, e.g.
>  * Linux x64
>  * Mac x64
>  * Mac arm64
>  * possibly others (Linux s390x, Linux ppc64le, AIX ppc64)
> Rationale:
>  * I was unable to build it on Mac, because xcode ships with bison 2.3, but 
> Thrift requires bison 2.5. setting YACC=/usr/bin/yacc did not work, configure 
> was still using bison.
>  * the maven plugin could be extended to download binary distributions. The 
> protobuf-maven-plugin and the frontend-maven-plugin do the same things. This 
> is a common scheme for maven plugins, because usually all prerequisites are 
> handled by maven plugins.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to