<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello Bind Users,<o:p></o:p></p>
<p class="MsoNormal">I am trying to build BIND 9.11.1 on a CentOS 7 64-bit system, including dnstap support.  I have followed the instructions here -
<a href="https://kb.isc.org/article/AA-01342/0/Using-DNSTAP-with-BIND-9.11.html">
https://kb.isc.org/article/AA-01342/0/Using-DNSTAP-with-BIND-9.11.html</a> to build protobuf, protobuf-c, and fstrm.  I am also building with support for OpenSSL and GeoIP.  Each of the dependent packages have been configured with a non-standard location using
 –prefix in the respective configure scripts.  All packages built and installed correctly in the following directories on my build machine:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/opt/work/test/protobuf  (v3.3.0)<o:p></o:p></p>
<p class="MsoNormal">/opt/work/test/protobuf-c  (v1.2.1)<o:p></o:p></p>
<p class="MsoNormal">/opt/work/test/fstrm  (v0.3.2)<o:p></o:p></p>
<p class="MsoNormal">/opt/work/test/ssl (v1.0.2k)<o:p></o:p></p>
<p class="MsoNormal">/opt/work/test/geoip (v1.6.10)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are the configure options I am providing for BIND 9.11.1:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">./configure --enable-ipv6 --enable-filter-aaaa --enable-largefile --enable-fixed-rrset --enable-threads --enable-dnstap --enable-shared=no --enable-full-report --with-dlopen=no --with-openssl=/opt/work/test/ssl --with-geoip=/opt/work/test/geoip
 --with-protobuf-c=/opt/work/test/protobuf-c --with-libfstrm=/opt/work/test/fstrm --without-gssapi --prefix=/opt/work/test/dns<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This configure fails with the following:<o:p></o:p></p>
<p class="MsoNormal"><…snip…><o:p></o:p></p>
<p class="MsoNormal">checking architecture type for atomic operations... x86_64<o:p></o:p></p>
<p class="MsoNormal">checking compiler support for inline assembly code... gcc<o:p></o:p></p>
<p class="MsoNormal">checking compiler support for __builtin_expect... yes<o:p></o:p></p>
<p class="MsoNormal">checking compiler support for __builtin_clz... yes<o:p></o:p></p>
<p class="MsoNormal">checking if asm("rep; nop"); works... yes<o:p></o:p></p>
<p class="MsoNormal">checking for fstrm_capture... no<o:p></o:p></p>
<p class="MsoNormal">checking for protoc-c... no<o:p></o:p></p>
<p class="MsoNormal">configure: error: The protoc-c program was not found.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Even though I have specified the proper locations for protobuf-c and fstrm, it does not seem to find the binaries that exist:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ls /opt/work/test/fstrm/<o:p></o:p></p>
<p class="MsoNormal">bin  include  lib<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ls /opt/work/test/fstrm/bin<o:p></o:p></p>
<p class="MsoNormal">fstrm_capture  fstrm_dump<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ls /opt/work/test/protobuf-c<o:p></o:p></p>
<p class="MsoNormal">bin  include  lib<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ls /opt/work/test/protobuf-c/bin<o:p></o:p></p>
<p class="MsoNormal">protoc-c<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone else been successful building BIND 9.11.1 with dnstap support with dependencies installed in non-standard location?  I have tried this on both a CentOS 7 and RHEL 7 machine with the same results.  Any suggestions to resolve this
 build problem would be welcome.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Greg<o:p></o:p></p>
</div>
</body>
</html>