[root@linux-node1 tmp]# tar xf bind-9.11.1-P1.tar.gz
[root@linux-node1 tmp]# cd bind-9.11.1-P1 [root@linux-node1 bind-9.11.1-P1]# ./configure --prefix=/usr/local/bindcd bind-9.11.1-P1 configure: WARNING: you should use --build, --host, --target checking build system type... Invalid configurationbind-9.11.1-P1': machine
bind-9.11.1' not recognized configure: error: /bin/sh ./config.sub bind-9.11.1-P1 failed [root@linux-node1 bind-9.11.1-P1]# ./con configure contrib/ [root@linux-node1 bind-9.11.1-P1]# ./configure --prefix=/usr/local/bind checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking how to print strings... printf checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in /tmp/bind-9.11.1-P1': configure: error: no acceptable C compiler found in $PATH See
config.log' for more details [root@linux-node1 bind-9.11.1-P1]# echo $? 1 解决方法:安装所需依赖包和GCC编译器
[root@linux-node2 bind-9.11.1-P1]# yum -y install gcc openssl-devel [root@linux-node2 bind-9.11.1-P1]# ./configure --prefix=/usr/local/bind此处省略一万字...
Features disabled or unavailable on this platform:
Large-system tuning (--with-tuning) Allow 'dnstap' packet logging (--enable-dnstap) GeoIP access control (--with-geoip) Allow 'fixed' rrset-order (--enable-fixed-rrset) PKCS#11/Cryptoki support (--with-pkcs11) Native PKCS#11/Cryptoki support (--enable-native-pkcs11) GOST algorithm support (--with-gost) Use libseccomp system call filtering (--enable-seccomp) Very verbose query trace logging (--enable-querytrace) Use GNU libtool (--with-libtool) Automated Testing Framework (--with-atf) Python tools (--with-python) XML statistics (--with-libxml2) JSON statistics (--with-libjson) LMDB database to store configuration for 'addzone' zones (--with-lmdb) ------------------------------------------------------------------------------- For more detail, use --enable-full-report. ===============================================================================[root@linux-node2 bind-9.11.1-P1]# echo $?
0