首页 小组 文章 搜索 用户
全部 linux Nginx Apache PHP DNS windows 其它 同步与备份 js 数据库 前端 unix

centos7下编译安装gdnsd

天边的云
发表于 2020-10-23 09:48:32

yum update -y

yum -y install wget gcc gcc-c++ bzip2 autoconf automake make lua-devel openssl openssl-devel boost-devel  

yum install libyaml libyaml-devel git libmaxminddb libmaxminddb-devel -y

yum -y install wget gcc gcc-c++ bzip2 autoconf automake make lua-devel openssl openssl-devel boost-devel

 yum install tcl-devel libxml2-devel openssl-devel pcre-devel gcc gcc-c++ git opensl openssl-devel curl curl-devel autoconf automake libtool curses pcre libcap hwloc pkgconfig flex lua autoconf automake openssl-devel boost-devel

git clone https://github.com/gdnsd/gdnsd.git

cd gdnsd

aclocal

autoconf

autoheader

automake --add-missing

./configure --prefix=/usr/local/gdnsd --sysconfdir=/usr/local/gdnsd/etc

make&&make install

出现错误

libgdmaps/gdmaps.c:51:16: fatal error: ev.h: No such file or directory

 #include <ev.h>

                ^

compilation terminated.

make[2]: *** [libgdmaps/gdmaps.o] Error 1

make[2]: Leaving directory `/root/gdnsd-3.2.1'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/gdnsd-3.2.1'

make: *** [all] Error 2

没有完成。


97 0

评论