Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install fbthrift-compiler not working #13

Closed
kirk86 opened this issue Oct 9, 2016 · 1 comment
Closed

brew install fbthrift-compiler not working #13

kirk86 opened this issue Oct 9, 2016 · 1 comment

Comments

@kirk86
Copy link

kirk86 commented Oct 9, 2016

I've tried installing fbthrift-compiler via brew as in the examples but it failed:

brew install fbthrift-compiler
==> Installing fbthrift-compiler from facebook/fb
==> Downloading https://github.com/facebook/fbthrift/archive/v0.31.0.tar.gz
Already downloaded: /Users/user/Library/Caches/Homebrew/fbthrift-compiler-31.0.tar.gz
==> Patching
patching file thrift/Makefile.am
patching file thrift/compiler/Makefile.am
==> autoreconf -i
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/fbthrift-compiler/31.0 --without-python --without-cpp --with-boost=/usr/local --with-folly=/
==> make install
Last 15 lines from /Users/user/Library/Logs/Homebrew/fbthrift-compiler/03.make:
                    ^
compilation terminated.
make[2]: *** [parse/t_type.lo] Error 1
In file included from /usr/local/include/folly/Bits.h:65:0,
                 from ../../thrift/compiler/parse/t_type.h:27,
                 from ../../thrift/compiler/parse/t_const.h:23,
                 from ../../thrift/compiler/main.h:24,
                 from thriftl.ll:31:
/usr/local/include/folly/Portability.h:223:20: fatal error: __config: No such file or directory
 #include <__config>
                    ^
compilation terminated.
make[2]: *** [libparse_la-thriftl.lo] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1

I've even tried changing the compiler that brew uses instead of clang to gcc-6 but nothing even tried gcc-4.9 still no good.

@Coneko
Copy link
Contributor

Coneko commented Oct 10, 2016

You should report this to https://github.com/facebook/fbthrift.

@KapJI KapJI closed this as completed Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants