VMBuilderで作成したVM。
./configure 実行したらエラーが。
デフォルトでGOSTサポートなんだ。。。
ちなみに apt-get でインストールした openssl のバージョンは OpenSSL 0.9.8k 。
エラーが。
またもやエラー。
./configure はとおたっけど、make したらエラーが。apt-getでインストールしたldns のバージョンがいけなかったみたい。
ldns 1.6.7 のソースをダウンロード ( http://www.nlnetlabs.nl/projects/ldns/ )
ダウンロードしなくても、unbound のソースに ldns 1.6.7がはいってた。。
ldnsのパスを指定し ./configure , make , make install で完了
設定ファイルは /etc/unbound/unboud ( .configure –sysdir=/etc/unbound )
| root@ubuntu-5:~/unbound-1.4.7# cat /etc/lsb-release | tail -1 DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS" | 
./configure 実行したらエラーが。
| configure: error: OpenSSL 1.0.0 is needed for GOST support | 
デフォルトでGOSTサポートなんだ。。。
ちなみに apt-get でインストールした openssl のバージョンは OpenSSL 0.9.8k 。
| root@ubuntu-5:~/unbound-1.4.7# ./configure --disable-gost --sysconfdir=/etc/unbound | 
エラーが。
| checking for libexpat... configure: error: Could not find libexpat, expat.h | 
| root@ubuntu-5:~/unbound-1.4.7# apt-get install libexpat1-dev | 
またもやエラー。
| configure: error: No ldns library found (or not recent); install or update ldns library, use --with-ldns=path or --with-ldns-builtin | 
| root@ubuntu-5:~/unbound-1.4.7# apt-get install libldns-dev | 
./configure はとおたっけど、make したらエラーが。apt-getでインストールしたldns のバージョンがいけなかったみたい。
| build/smallapp/.libs/unbound-anchor.o: In function `pick_random_ip': /root/unbound-1.4.7/smallapp/unbound-anchor.c:673: undefined reference to `ldns_get_random' collect2: ld returned 1 exit status make: *** [unbound-anchor] Error 1 | 
ldns 1.6.7 のソースをダウンロード ( http://www.nlnetlabs.nl/projects/ldns/ )
| 955  tar xzvf ldns-1.6.7.tar.gz 956 cd ldns-1.6.7 961 ./configure --disable-gost 962 make 964 make install root@ubuntu-5:~/unbound-1.4.7# ls /usr/local/lib/libldns* /usr/local/lib/libldns.a /usr/local/lib/libldns.so.1 /usr/local/lib/libldns.la /usr/local/lib/libldns.so.1.6.7 /usr/local/lib/libldns.so | 
ダウンロードしなくても、unbound のソースに ldns 1.6.7がはいってた。。
| root@ubuntu-5:~/unbound-1.4.7# pwd /root/unbound-1.4.7 root@ubuntu-5:~/unbound-1.4.7# ls ldns-src.tar.gz ldns-src.tar.gz root@ubuntu-5:~/unbound-1.4.7# tar tzvf ldns-src.tar.gz | head -1 | awk '{print $6}' ldns-1.6.7_20101101/ | 
ldnsのパスを指定し ./configure , make , make install で完了
| 980  ./configure --disable-gost --sysconfdir=/etc/unbound –with-ldns=/usr/local/lib 981 make 982 make install | 
| root@ubuntu-5:~# /usr/local/sbin/unbound-control-setup setup in directory /etc/unbound/unbound | 
| root@ubuntu-5:~# /usr/local/sbin/unbound root@ubuntu-5:~# echo $? 0 | 
| root@ubuntu-5:~# unbound-control status version: 1.4.7 verbosity: 1 threads: 1 modules: 2 [ validator iterator ] uptime: 3 seconds unbound (pid 28488) is running... | 
設定ファイルは /etc/unbound/unboud ( .configure –sysdir=/etc/unbound )
| root@ubuntu-5:/etc/unbound/unbound# pwd /etc/unbound/unbound root@ubuntu-5:/etc/unbound/unbound# ls unbound.conf unbound_control.key unbound_server.key unbound.pid unbound_control.pem unbound_server.pem | 

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.