[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 configuration bind-9.11.1-P1': machinebind-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 Seeconfig.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

可以看到已经安装成功

最新文章

  1. java基础--java.util.Date类型小结
  2. 对象排序,compareTo
  3. php $_SERVER中的SERVER_NAME 和HTTP_HOST的区别
  4. EasyIcon:免费图标搜索和下载平台
  5. 【LeetCode】Binary Tree Preorder Traversal
  6. html5[1]:优化Android Webview性能
  7. ie6 js报错unterminated string constant
  8. MITK Tutorial (三)
  9. Linux SO_KEEPALIVE属性,心跳
  10. 搜索所有的路径-矩阵运算-暴力-ACM
  11. mysql ++中文乱码问题
  12. SystemVerilog搭建验证平台使用DPI时遇到的问题及解决方案
  13. ES6对象及ES6对象简单拓展
  14. 切换Allegro PCB Editor
  15. face recognition[variations of softmax][L-Softmax]
  16. 使用OutputStream向屏幕上输出内容
  17. iOS UI基础-18.0 UIView
  18. vue制作小程序--server
  19. 1305. [CQOI2009]跳舞【最大流+二分】
  20. python 解压zip压缩包

热门文章

  1. 洛谷P3792 由乃与大母神原型和偶像崇拜
  2. 2017-10-12 NOIP模拟赛
  3. windows系统IIS7环境下如何部署MVC项目
  4. 文本处理三剑客之gawk
  5. Django与Ajax,文件上传,ajax发送json数据,基于Ajax的文件上传,SweetAlert插件
  6. bootstrap multiselect的使用 多选下拉菜单
  7. object.wait为什么要和synchronized一块使用
  8. URAL 1948 H - The Robot on the Line 二分 + 数学
  9. BIO,NIO,AIO的理解
  10. Dos窗口一闪而过,如何查看错误?