[
https://issues.apache.org/jira/browse/ZOOKEEPER-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151301#comment-17151301
]
David Vujic commented on ZOOKEEPER-3879:
----------------------------------------
I think I get the same missing paths in the container too. Or am I doing
something wrong?
This is what I did:
# Navigated to the dev/docker folder
# {{Docker build .}}
# {{docker run -it -v
<path-to-my-download-folder>/zookeeper-client-c/:/zookeeper/
<my-docker-image-name> /bin/bash}}
# In the docker container, navigated to the zookeeper folder and typed
{{autoreconf -if}}
*Result*:
{{acinclude.m4:315: warning: macro 'AM_PATH_CPPUNIT' not found in library}}
{{ configure.ac:38: error: Missing AM_PATH_CPPUNIT or PKG_CHECK_MODULES m4
macro.}}
{{ acinclude.m4:317: CHECK_CPPUNIT is expanded from...}}
{{ configure.ac:38: the top level}}
{{ autom4te: /usr/bin/m4 failed with exit status: 1}}
{{ aclocal: error: echo failed with exit status: 1}}
{{ autoreconf: aclocal failed with exit status: 1}}
> C Client: how to build?
> -----------------------
>
> Key: ZOOKEEPER-3879
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3879
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Affects Versions: 3.6.1
> Reporter: David Vujic
> Priority: Major
>
> I have tried to follow the [installation
> guide|https://github.com/apache/zookeeper/tree/master/zookeeper-client/zookeeper-client-c],
> but cannot understand how to make the *autoreconf* step to work. It is
> failing at the AM_PATH_CPPUNIT missing. Have tried the suggestions in the
> guide, but without success.
> The OS I have used are Mac OS X and Elementary OS. Also, went trying using
> CentOS in a docker container, but cannot figure out how to add all
> requirements (autoconf missing etc).
> Previous builds of the Zookeeper C Client (3.5.x) have worked fine though, I
> guess something has changed?
> For the development of node-zookeeper, this is a blocker.
> Do you have any suggestions how to solve this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)