README_packaging.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. README file for Packaging Notes
  2. Requirement
  3. -----------
  4. ant (recommended version 1.9.4 or later for concurrent JUnit test execution)
  5. gcc, cppunit and python-setuptools are required to build
  6. C and python bindings.
  7. On RHEL machine:
  8. yum install cppunit
  9. yum install python-setuptools
  10. On Ubuntu:
  11. apt-get --install cppunit
  12. apt-get --install python-setuptools
  13. Package build command
  14. ---------------------
  15. The ZooKeeper project publishes releases as tarballs. For ZooKeeper packages
  16. specific to your OS (such as rpm and deb), consider using Apache Bigtop:
  17. http://bigtop.apache.org/
  18. Command to build tarball package: ant tar
  19. zookeeper-<version>.tar.gz tarball file structure layout
  20. /bin - User executable
  21. /sbin - System executable
  22. /libexec - Configuration boot trap script
  23. /lib - Library dependencies
  24. /docs - Documents
  25. /share/zookeeper - Project files
  26. Command to build tarball package with native components: ant package-native tar
  27. zookeeper-<version>-lib.tar.gz tarball file structure layout
  28. /bin - User executable
  29. /lib - Native libraries
  30. /include/zookeeper - Native library headers