Anthony Orona created THRIFT-4870:
-------------------------------------

             Summary: Cannot install thrift on Mac OSX 10.14.5 [configure: 
error: Bison version 2.5]
                 Key: THRIFT-4870
                 URL: https://issues.apache.org/jira/browse/THRIFT-4870
             Project: Thrift
          Issue Type: Comment
    Affects Versions: 0.12.0
            Reporter: Anthony Orona


I am installing apache thrift on a mac using the OS X setup guide

[https://thrift.apache.org/docs/install/os_x]

I am able to install Boost and libevent

When I build apache thrift I get the following error:

    checking for bison version >= 2.5... no

    configure: error: Bison version 2.5 or higher must be installed on the 
system!

I installed a more recent version of Bison using brew and then specified the 
bison version using linker flags as follows:

./configure  --prefix=/usr/local/ --with-boost=/usr/local 
--with-libevent=/usr/local LDFLAGS=-L/usr/local/opt/bison/lib

However, I am not able to build apache thrift using the linker flag above.

*I cannot install thrift using brew as brew doesn't fully install everything 
for python.*

How can I install thrift using the correct version of Bison?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to