<div dir="ltr"><p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;background-image:initial;background-repeat:initial">Hi All,</span><span style="font-size:12pt;font-family:'Times New Roman',serif"></span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">I have downloaded getdns source from <a href="https://getdnsapi.net/">https://getdnsapi.net/</a>.</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">I have executed below command </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">./configure --prefix=/home/deploy/build --with-ssl=/usr/local
--with-libevent --includedir=/home/deploy/build/include
 --libdir=/home/deploy/build/lib</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">make </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">make install</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">mv lib lib64</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">Now i have downloaded python binding and have the direc
in /home/deploy/getdns-python-bindings-master.</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">Now when i execute python setup.py install i get below
errors </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">running install</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">running build</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">running build_ext</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">building 'getdns' extension</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -fPIC -I/usr/local/include
-I/sw/packages/python/current/include/python2.7 -c getdns.c -o
build/temp.linux-x86_64-2.7/getdns.o</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:43:27: error: getdns/getdns.h: No such file or
directory</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:44:40: error: getdns/getdns_ext_libevent.h: No such
file or directory</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">In file included from getdns.c:47:</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:76: error: expected specifier-qualifier-list before
âgetdns_resolution_tâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:101: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:101: warning: its scope is only this definition or
declaration, which is probably not what you want</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:104: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:105: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:106: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:107: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:108: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:109: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:114: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:115: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:116: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:117: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:118: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:119: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:120: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:121: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:122: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:123: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:124: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:125: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:126: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:127: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:128: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:129: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:143: error: expected declaration specifiers or â...â
before âgetdns_callback_type_tâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:144: error: expected declaration specifiers or â...â
before âgetdns_transaction_tâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:144: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:144: warning: âstruct getdns_contextâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:150: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:151: warning: âstruct getdns_listâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:152: warning: âstruct getdns_dictâ declared inside
parameter list</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:153: error: expected â)â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">pygetdns.h:158: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:137: error: âgetdns_ContextObjectâ has no member named
âresolution_typeâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:139: error: âgetdns_ContextObjectâ has no member named
âdns_transportâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:141: error: âgetdns_ContextObjectâ has no member named
âlimit_outstanding_queriesâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:143: error: âgetdns_ContextObjectâ has no member named
âfollow_redirectsâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:145: error: âgetdns_ContextObjectâ has no member named
âappend_nameâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:147: error: âgetdns_ContextObjectâ has no member named
âdnssec_allowed_skewâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:149: error: âgetdns_ContextObjectâ has no member named
âedns_maximum_udp_payload_sizeâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:151: error: âgetdns_ContextObjectâ has no member named
âedns_extended_rcodeâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:153: error: âgetdns_ContextObjectâ has no member named
âedns_do_bitâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:155: error: âgetdns_ContextObjectâ has no member named
âedns_versionâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:156: error: âgetdns_ContextObjectâ has no member named
ânamespacesâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:158: error: âgetdns_ContextObjectâ has no member named
âdns_root_serversâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:160: error: âgetdns_ContextObjectâ has no member named
âdnssec_trust_anchorsâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:162: error: âgetdns_ContextObjectâ has no member named
âsuffixâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:163: error: âgetdns_ContextObjectâ has no member named
âupstream_recursive_serversâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:166: error: âgetdns_ContextObjectâ has no member named
âimplementation_stringâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:168: error: âgetdns_ContextObjectâ has no member named
âversion_stringâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c: In function âget_errorstr_by_idâ:</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:232: error: âGETDNS_RETURN_INVALID_PARAMETER_TEXTâ
undeclared (first use in this function)</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:232: error: (Each undeclared identifier is reported
only once</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:232: error: for each function it appears in.)</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:232: warning: passing argument 2 of âPyErr_SetStringâ
from incompatible pointer type</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">/sw/packages/python/current/include/python2.7/pyerrors.h:78:
note: expected âconst char *â but argument is of type âstruct PyMemberDef *â</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:235: warning: implicit declaration of function
âgetdns_get_errorstr_by_idâ</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">getdns.c:235: warning: cast to pointer from integer of different
size</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">error: command 'gcc' failed with exit status 1</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">Can someone help me on this where i go wrong</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">Regards,</span></p>

<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">Shadrach</span></p>

<p class="MsoNormal"> </p></div>