wiki:SystemNotesDebian6

The following description applies to bind10-devel-20120517 version installed on "Stable" Debian 6.0 GNU/Linux, codenamed "Squeeze".

Keep in mind that many things have changed since then. In particular, Kea does not require python3 or SQLite. It can also use either OpenSSL or Botan, so Botan is no longer a strict dependency.

1. Install necessary dependencies.

Most required dependencies are available as Debian packages, so their installation is easy:

$ sudo apt-get install g++ python3 python3-dev python3.1 python3.1-dev libbotan1.8-dev libbz2-dev libgmp3-dev bzip2 make libboost-dev pkg-config libsqlite3-dev sqlite3

Also see ticket #2593 about an issue in boost::optional between some versions of boost and GCC.

You may need to install python3-dev also. If you plan to run the unittests, install libgtest-dev.

2. Install log4cplus

Almost everything is included in Debian 6.0, except log4cplus, which has to be compiled from sources. Download log4cplus from http://log4cplus.sourceforge.net/. Then issue the following commands to compile and install it:

$ tar xvjf log4cplus-1.0.4.tar.bz2
$ cd log4cplus-1.0.4/
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ sudo ldconfig

3. BIND10 Compilation and installation

Once those steps are completed, you should be ready for BIND10 compilation and installation:

$ tar zxvf bind10-devel-20120517.tar.gz
$ cd bind10-devel-20120517/
$ ./configure --prefix=/usr/local/
$ make
$ sudo make install

4. Update library cache (optional)

If you try to start BIND10 and see errors about libcc.so.0, like the following one:

root@vault101:/home/thomson/bind10-devel-20120517# bind10
Traceback (most recent call last):
  File "/usr/local/sbin/bind10", line 67, in <module>
    import isc.cc
  File "/usr/local/lib/python3/dist-packages/isc/__init__.py", line 6, in <module>
    import isc.config
  File "/usr/local/lib/python3/dist-packages/isc/config/__init__.py", line 1, in <module>
    from isc.config.ccsession import *
  File "/usr/local/lib/python3/dist-packages/isc/config/ccsession.py", line 45, in <module>
    from isc.log import log_config_update
ImportError: libcc.so.0: cannot open shared object file: No such file or directory

you should update your library cache:

$ sudo ldconfig -v

5. Run BIND10!

Congratulations, you are now ready to run BIND10!

Run BIND10 boss in one console:

$ sudo bind10

And start configuring it from the other console:

$ bindctl
Last modified 3 years ago Last modified on Dec 3, 2014, 4:46:05 PM