... | ... | @@ -11,7 +11,7 @@ sudo apt-get install libtool autoconf g++ libssl-dev liblog4cplus-dev libboost-s |
|
|
|
|
|
## Compilation from git
|
|
|
|
|
|
If downloading from git, install git first:
|
|
|
If downloading from git, install git:
|
|
|
|
|
|
```
|
|
|
sudo apt-get install git
|
... | ... | @@ -71,29 +71,29 @@ sudo apt-get install libpq-dev postgresql-server-dev-all |
|
|
|
|
|
...
|
|
|
|
|
|
### Installing dependencies for developers (optional)
|
|
|
### Installing Google Test (optional)
|
|
|
|
|
|
Compile google-test framework, needed for running unit-tests:
|
|
|
```
|
|
|
sudo apt-get install googletest
|
|
|
```
|
|
|
This is an optional dependency. You need it only if you want to run the unit tests after building Kea.
|
|
|
|
|
|
Then compile Kea with:
|
|
|
```
|
|
|
sudo apt-get install googletest
|
|
|
./configure --with-gtest-source=/usr/src/googletest
|
|
|
...
|
|
|
```
|
|
|
|
|
|
### Installing dependencies for generating documentation (optional)
|
|
|
If you want to generate the documentation:
|
|
|
If you want to generate the user guide:
|
|
|
|
|
|
```
|
|
|
sudo apt-get install elinks docbook-xsl doxygen xsltproc
|
|
|
./configure --enable-generate-docs
|
|
|
make
|
|
|
cd doc
|
|
|
make devel
|
|
|
make guide
|
|
|
```
|
|
|
|
|
|
To create the developers' documentation, use the command `make devel` instead of `make guide` in the steps above.
|
|
|
|
|
|
### Installing with FreeRADIUS (optional)
|
|
|
|
|
|
You need to have subscription package to make this work.
|
... | ... | @@ -108,7 +108,7 @@ make |
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
Extract kea with subscription package to premium/ dir:
|
|
|
Extract kea with subscription package to the premium/ dir:
|
|
|
|
|
|
```
|
|
|
tar zxvf kea-subscription-1.4.0.tar.gz
|
... | ... | |