其他分享
首页 > 其他分享> > 编译dnsmasq

编译dnsmasq

作者:互联网

dnsmasq主页:https://dnsmasq.org/ dnsmasq包下载: https://thekelleys.org.uk/dnsmasq/

准备工作:

cd /root
tar -xvf dnsmasq-2.86.tar.xz
cd dnsmasq-2.86/
mkdir -p _build/

 

安装编译依赖的库:

apt-get install libdbus-1-dev libidn11-dev libnetfilter-conntrack-dev nettle-dev gettext

 

修改Makefile:

PREFIX        = /root/dnsmasq-2.86/_build
COPTS         = -DHAVE_DBUS -DHAVE_IDN -DHAVE_CONNTRACK -DHAVE_DNSSEC

 

编译和安装:

make all-i18n
make install-i18n

 

标签:2.86,dev,cd,编译,DHAVE,dnsmasq
来源: https://www.cnblogs.com/wanglouxiaozi/p/16312664.html