Github user superbstreak commented on the issue:

    https://github.com/apache/drill/pull/602
  
    **Mac Environment:**
    OS: OSX 10.8.5
    COMPILER=xcode5_1
    
    **Libraries:**
    Zookeeper: 3.4.6 (patched)
    boost: 1.57.0
    protobuf: 2.5.0rc1
    
    **For libc++:**
    .../contrib/native/client/CMakeLists.txt:
    - Add: set(CMAKE_CXX_FLAGS "-stdlib=libc++") before 
if(CMAKE_COMPILER_IS_GNUCXX)
    - Change to set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lrt -lpthread")
    - Change to set(CMAKE_CXX_FLAGS "-fPIC -stdlib=libc++")
    
    **And the minimal code changes required for zookeeper to work:**
    #ifndef htonll   <--------------------- Add this
    int64_t htonll(int64_t v);
    #endif <-------------------------------- Add this


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to