博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Centos 编译安装bind错误
阅读量:4310 次
发布时间:2019-06-06

本文共 2164 字,大约阅读时间需要 7 分钟。

[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

可以看到已经安装成功

转载于:https://www.cnblogs.com/aofo/p/7057646.html

你可能感兴趣的文章
NodeJS05
查看>>
Windows10更新后,远程桌面无法登录服务器 提示远程桌面协议 CredSSP 出现漏洞
查看>>
开发一个移动应用之前应该思考的5件事
查看>>
[转] iOS 常用数学函数
查看>>
shiro过滤器解释类
查看>>
使用kubeadm安装K8s-1.14.2
查看>>
2.字符串及其操作
查看>>
操作字符串
查看>>
python 单例模式
查看>>
LoadRunner 技巧之协议分析
查看>>
android studio 快捷键
查看>>
vs2010 打开 vs2012 的解决方案
查看>>
iis常见问题解决
查看>>
mysql入门
查看>>
NR LTE UMTS GSM CDMA TDS频点频率换算工具
查看>>
servlet基础
查看>>
机房测试8.23
查看>>
thinkphp 迁移数据库 -Phinx 简单说明文档
查看>>
对软件工程的理解
查看>>
下载IDEA并安装scala插件
查看>>