/config /make |
https://unbound.jp/unbound/howto_setup/
source build
openssl install
1. install
tmaeno@tokyo:~/unbound-1.16.3$ sudo make install /bin/bash ./install-sh -m 755 -d /usr/local/lib /bin/bash ./install-sh -m 755 -d /usr/local/include /bin/bash ./install-sh -m 755 -d /usr/local/share/man /bin/bash ./install-sh -m 755 -d /usr/local/share/man/man3 /bin/bash ./install-sh -c -m 644 doc/libunbound.3 /usr/local/share/man/man3 for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete \ ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd \ ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file \ ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async \ ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async ub_cancel \ ub_resolve_free ub_strerror ub_ctx_print_local_zones ub_ctx_zone_add \ ub_ctx_zone_remove ub_ctx_data_add ub_ctx_data_remove; \ do \ echo ".so man3/libunbound.3" > /usr/local/share/man/man3/$mpage.3 ; \ done ./libtool --mode=install cp unbound.h /usr/local/include/unbound.h libtool: install: cp unbound.h /usr/local/include/unbound.h /bin/bash ./install-sh -m 755 -d /usr/local/lib/pkgconfig /bin/bash ./install-sh -m 644 contrib/libunbound.pc /usr/local/lib/pkgconfig ./libtool --mode=install cp libunbound.la /usr/local/lib libtool: install: cp .libs/libunbound.so.8.1.19 /usr/local/lib/libunbound.so.8.1.19 libtool: install: (cd /usr/local/lib && { ln -s -f libunbound.so.8.1.19 libunbound.so.8 || { rm -f libunbound.so.8 && ln -s libunbound.so.8.1.19 libunbound.so.8; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libunbound.so.8.1.19 libunbound.so || { rm -f libunbound.so && ln -s libunbound.so.8.1.19 libunbound.so; }; }) libtool: install: cp .libs/libunbound.lai /usr/local/lib/libunbound.la libtool: install: cp .libs/libunbound.a /usr/local/lib/libunbound.a libtool: install: chmod 644 /usr/local/lib/libunbound.a libtool: install: ranlib /usr/local/lib/libunbound.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- ./libtool --mode=finish /usr/local/lib libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/bash ./install-sh -m 755 -d /usr/local/sbin /bin/bash ./install-sh -m 755 -d /usr/local/share/man /bin/bash ./install-sh -m 755 -d /usr/local/share/man/man8 /bin/bash ./install-sh -m 755 -d /usr/local/share/man/man5 /bin/bash ./install-sh -m 755 -d /usr/local/share/man/man1 ./libtool --mode=install cp -f unbound /usr/local/sbin/unbound libtool: install: cp -f unbound /usr/local/sbin/unbound ./libtool --mode=install cp -f unbound-checkconf /usr/local/sbin/unbound-checkconf libtool: install: cp -f unbound-checkconf /usr/local/sbin/unbound-checkconf ./libtool --mode=install cp -f unbound-control /usr/local/sbin/unbound-control libtool: install: cp -f unbound-control /usr/local/sbin/unbound-control ./libtool --mode=install cp -f unbound-host /usr/local/sbin/unbound-host libtool: install: cp -f .libs/unbound-host /usr/local/sbin/unbound-host ./libtool --mode=install cp -f unbound-anchor /usr/local/sbin/unbound-anchor libtool: install: cp -f .libs/unbound-anchor /usr/local/sbin/unbound-anchor /bin/bash ./install-sh -c -m 644 doc/unbound.8 /usr/local/share/man/man8 /bin/bash ./install-sh -c -m 644 doc/unbound-checkconf.8 /usr/local/share/man/man8 /bin/bash ./install-sh -c -m 644 doc/unbound-control.8 /usr/local/share/man/man8 /bin/bash ./install-sh -c -m 644 doc/unbound-control.8 /usr/local/share/man/man8/unbound-control-setup.8 /bin/bash ./install-sh -c -m 644 doc/unbound-anchor.8 /usr/local/share/man/man8 /bin/bash ./install-sh -c -m 644 doc/unbound.conf.5 /usr/local/share/man/man5 /bin/bash ./install-sh -c -m 644 doc/unbound-host.1 /usr/local/share/man/man1 /bin/bash ./install-sh -c -m 755 unbound-control-setup /usr/local/sbin/unbound-control-setup if test ! -e /usr/local/etc/unbound/unbound.conf; then /bin/bash ./install-sh -d `dirname /usr/local/etc/unbound/unbound.conf`; /bin/bash ./install-sh -c -m 644 doc/example.conf /usr/local/etc/unbound/unbound.conf; fi