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

Tips on how to build zookeeper-client-c

    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

          People

            Unassigned Unassigned
            helifu LiFu He
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: