lizardfs/INSTALL
Michał Pecio 7680367fef doc: Update INSTALL and UPGRADE
Describe the new cmake-based build process in INSTALL.

Update upgrading instructions in UPGRADE.

Change-Id: Ib10393c22a25b0cb9067d0263d22ba3fa0925cf6
2014-08-11 15:32:30 +02:00

32 lines
806 B
Plaintext

Installing LizardFS from source.
Current LizardFS source code can be obtained at:
http://lizardfs.com/download/
LizardFS uses cmake as its build system. To compile the sources, follow
the directions outlined below.
1. Create a build directory inside the source directory.
cd lizardfs-source
mkdir build
2. Run 'cmake ..' inside the build directory. Useful options include
'-DCMAKE_INSTALL_PREFIX', '-DCMAKE_BUILD_TYPE' as well as various
LizardFS-specific '-DENABLE_...' options. Options are listed when
cmake is ran and can be changed by re-running cmake.
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/lizardfs
3. Run make in the build directory.
make
4. Run make install to install files (you may need to be root).
make install