Hello,
I'm trying to build arrow and parquet on Mac OS:
$ cmake .. -DARROW_PARQUET=ON -DCMAKE_BUILD_TYPE=Release
-DARROW_BOOST_USE_SHARED:BOOL=Off
$ make install
And get only up to:
[ 37%] Performing build step for 'thrift_ep'
CMake Error at
/Users/romain/git/apache/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-RELEASE.cmake:16
(message):
Command failed: 2
'/Library/Developer/CommandLineTools/usr/bin/make'
See also
/Users/romain/git/apache/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log
Which contains:
/Users/romain/git/apache/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/compiler/cpp/src/thrift/thrifty.yy:1.1-5:
invalid directive: `%code'
/Users/romain/git/apache/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep/compiler/cpp/src/thrift/thrifty.yy:1.7-14:
syntax error, unexpected identifier
make[5]: *** [compiler/cpp/thrift/thrifty.cc] Error 1
make[4]: *** [compiler/cpp/CMakeFiles/parse.dir/all] Error 2
make[3]: *** [all] Error 2
I have bison 3.2.4 and flex 2.6.4 on my $PATH:
romain@purrplex ~/git/apache/arrow/cpp/release $ bison --version
bison (GNU Bison) 3.2.4
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
romain@purrplex ~/git/apache/arrow/cpp/release $ flex --version
flex 2.6.4