Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4870

Cannot install thrift on Mac OSX 10.14.5 [configure: error: Bison version 2.5]

    XMLWordPrintableJSON

Details

    • Comment
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • None
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ajorona Anthony Orona
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: