Strus installation guide
Clone from Github
There exists a Github project strusAll for simiplifying out of source builds of Strus. You can clone it with
git clone git@github.com:patrickfrey/strusAll.git
You can also clone the projects one by one from Github:
git clone git@github.com:patrickfrey/<projectname>.gitThe following projects (substitute for <projectname>) are part of the strus universe: strusBase, strus, strusAnalyzer, strusTrace, strusModule, strusRpc, strusPattern, strusVector, strusBindings, strusUtilities.
3rd party dependencies
Follow the instructions in INSTALL.3rdParty of every strus project for installing
the prerequisites.
Hier is a list with the most important 3rd party software you need to install for strus.:
- boost (>= 1.53)
- leveldb (needed by strus)
- gperftools(needed by leveldb)
- libunwind (needed by leveldb)
- snappy (needed by leveldb)
- PHP (needed by strusBindings when building with -DWITH_PHP="YES")
- Python version >= 2.7 (needed by strusBindings when building with -DWITH_PYTHON="YES")
Build the software
The build system is CMake. Go into the top level directory
of the strusAll project and execute the instructions in INSTALL (for Linux), INSTALL.FreeBSD,
INSTALL.OpenBSD or INSTALL.OSX depending on your platform.
If you build the procects separately you have to do this for each project.
The projects will by default be installed in the default location for utilities
(On Ubuntu in /usr/local).
Respect the order implied by dependencies if you build the projects separately.
The projects have due to dependencies to be built and
installed in the following order (projects on the same line can be built in reversed
order too because they have no build dependencies to each other):
- strusBase
- strus, strusAnalyze
- strusTrace
- strusModule
- strusRpc
- strusPattern, strusVector, strusBindings, strusUtilities