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

Tips on how to build zookeeper-client-c

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • c client
    • None

    Description

      The "README" under zookeeper/zookeeper-client/zookeeper-client-c  is out dated, and I used jiras and google to find the way to build it but both failed (Sorry I'm not familiar with Java). Then I ran all kinds of tests. Below are my steps to build it:

      # 1.use a lastest maven
      cd apache-maven-3.8.6/bin && export PATH=$PWD:$PATH && cd -
      # 2.compile jute to generate "zookeeper.jute.h/c" under "../zookeeper-client/zookeeper-client-c/generated/"
      cd zookeeper/zookeeper-jute && mvn compile
      # 3.complie zookeeper-client-c
      cd ../zookeeper-client/zookeeper-client-c
      autoreconf -if
      ./configure
      make -j16

      Hope to help friends in need

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            helifu LiFu He

            Dates

              Created:
              Updated:

              Slack

                Issue deployment