INSTALL 1.2 KB

123456789101112131415161718192021222324252627282930
  1. More complete build documentation is available on the libarchive
  2. Wiki: http://libarchive.googlecode.com/
  3. On most Unix-like systems, you should be able to install libarchive,
  4. bsdtar, and bsdcpio using the following common steps:
  5. ./configure
  6. make
  7. make install
  8. If you need to customize the target directories or otherwise adjust
  9. the build setting, use
  10. ./configure --help
  11. to list the configure options.
  12. If you are developing libarchive and need to update the
  13. configure script and other build files:
  14. /bin/sh build/autogen.sh
  15. To create a distribution, please use the 'distcheck' target:
  16. /bin/sh build/autogen.sh && ./configure && make distcheck
  17. On non-Unix-like systems, use the "cmake" utility (available from
  18. http://cmake.org/) to generate suitable build files for your platform.
  19. Cmake requires the name of the directory containing CmakeLists.txt and
  20. the "generator" to use for your build environment. For example, to
  21. build with Xcode on Mac OS, you can use the following command:
  22. cmake -G "Xcode" ~/libarchive-download-dir/
  23. The result will be appropriate makefiles, solution files, or project
  24. files that can be used with the corresponding development tool.
  25. See the libarchive Wiki or the cmake site for further documentation.