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

make it compile on macos #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

santazhang
Copy link

macos comes with bison v2.3, but thrift requires at least bison v2.5
So I have to install bison (v3.0.4) by homebrew.

Also, setting CXX and CC envvar breaks build of protobuf and msgpack.
Let their own configure script figure out where C and C++ compiler is.

I tested it on my mac and everything works fine.

This should solve issue #6

macos comes with bison v2.3, but thrift requires at least bison v2.5
So I have to install bison (v3.0.4) by homebrew.

Also, setting CXX and CC envvar breaks build of protobuf and msgpack.
Let their own configure script figure out where C and C++ compiler is.
@Kentzo
Copy link

Kentzo commented Feb 10, 2017

@santazhang While I agree regarding CXX and CC changes, hardcoding PATH doesn't seem right. It should be possible to the latter by setting PATH of the parent process in your shell.

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

Successfully merging this pull request may close these issues.

None yet

2 participants