INSTALL 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ========= Installing LibRaw ========
  2. I. Installation steps
  3. 1. Unpack the distribution file:
  4. $ tar xzvf LibRaw-0.xx.yy.tar.gz
  5. 2. Go to LibRaw folder and run ./configure and make:
  6. $ cd LibRaw-0.xx.yy
  7. $ ./configure [...optional args...]
  8. $ make
  9. 3. install by run make install as root:
  10. $ sudo make install
  11. If you're using Github snapshot, create ./configure script:
  12. autoreconf --install
  13. before using it (you'll need autotools installed).
  14. Alternatively, you may use pre-created Makefiles (Makefile.dist for Unix,
  15. Makefile.msvc for Windows/VisualStudio) and add/remove options by editing
  16. these Makefiles
  17. II. ./configure options
  18. --enable-openmp
  19. --disable-openmp
  20. Enable/disable OpenMP support if compiler supports it.
  21. OpenMP is enabled by default.
  22. --enable-lcms
  23. --disable-lcms
  24. Enable/disable LCMS color engine support. If enabled, ./configure will try to
  25. find lcms library. Both LCMS-1.x and LCMS-2.x are supported
  26. LCMS support is enabled by default
  27. --enable-examples
  28. --disable-examples
  29. Enables/disables examples compilation and installation. Enabled by default