Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2859

CMake build doesn't support OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.11, 3.5.4, 3.6.0
    • None
    • None
    • OS X 10.12.6

    Description

      Couple problems:

      libm, librt, and libdl are all Linux specific, and provided "for free" on OS X

      CppUnit (at least on OS X) needs `-std=c++11`

      clang's ld doesn't understand --wrap

      I can post an easy patch that at least lets you build the client (but not the tests). The tests use that `--wrap` and it's non trivial to fix that on OS X.

      Attachments

        Issue Links

          Activity

            People

              andschwa Andrew Schwartzmeyer
              andschwa Andrew Schwartzmeyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: