mirror of
https://github.com/vgough/encfs.git
synced 2024-11-24 17:03:13 +01:00
f75854cd31
* Update cmake * Update cmake, make Travis use it * Enable all tests in a single command : make check * Make cmake flawlessly run with Debian jessie cmake 3.0.2 * Make Travis use our own cmake 3.0.2 compiled version * Typo in preferred version * Be sure travis will have gettext
62 lines
1.9 KiB
Markdown
62 lines
1.9 KiB
Markdown
This document provides generic information for compiling EncFS.
|
|
|
|
If you are looking for specific instructions for your distribution,
|
|
take a look at the page
|
|
**[Installing EncFS](https://github.com/vgough/encfs/wiki/Installing-Encfs)**
|
|
in the wiki.
|
|
|
|
Compiling EncFS
|
|
===============
|
|
|
|
EncFS uses the CMake toolchain to create makefiles.
|
|
|
|
Steps to build EncFS:
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
|
|
Optional, but strongly recommended, is running the test suite
|
|
to verify that the generated binaries work as expected
|
|
(runtime: 20 seconds)
|
|
|
|
make check
|
|
|
|
The compilation process creates two executables, encfs and encfsctl in
|
|
the encfs directory. You can install to in a system directory via
|
|
|
|
make install
|
|
|
|
. If the default path (`/usr/local`) is not where you want things
|
|
installed, then set the CMAKE_INSTALL_PREFIX option when running cmake. Eg:
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
|
|
|
|
Encfs and encfsctl can also be installed by hand. They need no special
|
|
permissions. You may also want the man pages encfs.1 and encfsctl.1.
|
|
|
|
Dependencies
|
|
============
|
|
|
|
EncFS depends on a number of libraries:
|
|
|
|
* fuse : the userspace filesystem layer
|
|
* openssl : used for cryptographic primitives
|
|
* tinyxml2 : for reading and writing XML configuration files
|
|
* gettext : internationalization support
|
|
* libintl : internationalization support
|
|
* cmake : version 3.0.2 (Debian jessie version) or newer
|
|
* GNU make or ninja-build : to run the build for cmake
|
|
|
|
Compiling on Debian and Ubuntu
|
|
==============================
|
|
|
|
See the automated build static in README.md for current build status on Ubuntu systems.
|
|
|
|
The build configuration files (circle.yml) always contains up-to-date
|
|
instructions to build EncFS on Ubuntu distributions.
|
|
|
|
On Debian Stable, additional installations from Backports branch might be
|
|
required (cmake 3.x for example, see https://backports.debian.org/ for instructions).
|