cpp-serializers icon indicating copy to clipboard operation
cpp-serializers copied to clipboard

make it compile on macos

Open santazhang opened this issue 9 years ago • 1 comments

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

santazhang avatar Nov 04 '16 19:11 santazhang

@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.

Kentzo avatar Feb 10 '17 01:02 Kentzo