Skip to content

Instantly share code, notes, and snippets.

@masatokawano
Last active March 9, 2018 04:55
Show Gist options
  • Save masatokawano/b3e699154119f798e9c06655157317bc to your computer and use it in GitHub Desktop.
Save masatokawano/b3e699154119f798e9c06655157317bc to your computer and use it in GitHub Desktop.
dependency
libbison-dev libbsd0 libcroco3 libevent-2.1-6 libevent-core-2.1-6 \
libevent-dev libevent-extra-2.1-6 libevent-openssl-2.1-6 \
libevent-pthreads-2.1-6 libexpat1 libexpat1-dev \
libfile-stripnondeterminism-perl libfreetype6 libfstrm-dev libfstrm0 \
libglib2.0-0 libgmp-dev libgmpxx4ldbl libgraphite2-3 libharfbuzz0b \
libicu-le-hb0 libicu60 libmagic-mgc libmagic1 libmpdec2 libpipeline1 \
libprotobuf-c-dev libprotobuf-c1 libprotobuf10 libprotoc10 libpython-dev \
libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal \
libpython2.7-stdlib libpython3-dev libpython3-stdlib libpython3.6 \
libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib libsigsegv2 \
libssl-dev libsystemd-dev libtimedate-perl libtool libxml2 m4 man-db \
mime-support nettle-dev pkg-config po-debconf protobuf-c-compiler python \
python-dev python-minimal python2.7 python2.7-dev python2.7-minimal python3 \
python3-dev python3-distutils python3-lib2to3 python3-minimal python3.6 \
python3.6-dev python3.6-minimal swig \
swig3.0
PYTHON_VERSION="2.7" \
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now" \
--disable-rpath \
--with-pidfile=/run/unbound.pid \
--with-rootkey-file=/var/lib/unbound/root.key \
--with-libevent \
--with-pythonmodule \
--enable-subnet \
--enable-dnstap \
--enable-systemd \
--with-dnstap-socket-path=/run/dnstap.sock \
--libdir=/usr/lib \
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info \
--sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu \
--disable-maintainer-mode --disable-dependency-tracking --disable-rpath --with-pidfile=/run/unbound.pid --with-rootkey-file=/var/lib/unbound/root.key \
--with-libevent --with-pythonmodule --with-pyunbound --enable-subnet --enable-dnstap --enable-systemd --with-dnstap-socket-path=/run/dnstap.sock --libdir=/usr/lib
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" \
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" \
LDFLAGS="-Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now" \
./configure --build=x86_64-linux-gnu \
--prefix=/usr \
--includedir=/usr/include \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-silent-rules \
--libdir=/usr/lib/x86_64-linux-gnu \
--libexecdir=/usr/lib/x86_64-linux-gnu \
--disable-maintainer-mode \
--disable-dependency-tracking \
--disable-rpath \
--with-libunbound-only \
--with-nettle \
--with-rootkey-file=/var/lib/unbound/root.key \
--with-libevent \
--without-pythonmodule \
--without-pyunbound \
--enable-event-api
PYTHON_VERSION="2.7" \
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now" \
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --disable-rpath --with-pythonmodule --with-pyunbound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment