MoinQ:

DNS/Knot-DNS/installationについて、ここに記述してください。

$ cd knot-dns
$ autoreconf -if
$ ./configure
$ make

1. autoreconf -if

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'

configureが作られるので、configureを実行。

configure: error: libedit not found

-- ToshinoriMaeno 2017-04-11 02:27:32

Knot DNS has several dependencies:
* libtool
* autoconf > 2.65
* pkg-config
* liburcu >= 0.5.4
* gnutls >= 3.0
* jansson >= 2.3
* libedit

$ sudo apt-get install \
  libtool autoconf make pkg-config liburcu-dev libgnutls28-dev libjansson-dev libedit-dev

2. 再開

$ ./configure > configure.log

configure: WARNING: Could not find the 'sphinx-build' executable, you will be unable to regenerate documentation.

Makefileが出来たので、make してみる。

NOTE: Compilation of scanner.c can take several minutes!

10分後

make[1]: ディレクトリ `/home/tmaeno/knot-2.4.2' に入ります
make[1]: `all-am' に対して行うべき事はありません.
make[1]: ディレクトリ `/home/tmaeno/knot-2.4.2' から出ます

Install Knot DNS into system:
$sudo make install
$ sudo ldconfig

NOTE: If you want to reduce zscanner compile time, use configure option --disable-fastparser.

できたらしい。 -- ToshinoriMaeno 2017-04-11 02:50:48