You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/01 16:07:02 UTC
[jira] [Commented] (ZOOKEEPER-2859) CMake build doesn't support OS
X
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109162#comment-16109162 ]
ASF GitHub Bot commented on ZOOKEEPER-2859:
-------------------------------------------
Github user hanm commented on the issue:
https://github.com/apache/zookeeper/pull/319
I have cppunit.m4 under this path: /usr/local/Cellar/cppunit/1.13.2/share/aclocal. It was brew installed. Also I am able to build C client on mac. I can't remember how I did it, but checkout this link which might help: http://wiki.wsmoak.net/cgi-bin/wiki.pl?action=browse&diff=1&id=ZooKeeperBuild
> CMake build doesn't support OS X
> --------------------------------
>
> Key: ZOOKEEPER-2859
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2859
> Project: ZooKeeper
> Issue Type: Bug
> Environment: OS X 10.12.6
> Reporter: Andrew Schwartzmeyer
> Assignee: Andrew Schwartzmeyer
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)