From shadrach.r at gmail.com Thu Aug 27 10:57:44 2015 From: shadrach.r at gmail.com (shadrach rajasekar) Date: Thu, 27 Aug 2015 16:27:44 +0530 Subject: [getdns-api] Error during "python setup.py install" Message-ID: Hi All, I have downloaded getdns source from https://getdnsapi.net/. I have executed below command ./configure --prefix=/home/deploy/build --with-ssl=/usr/local --with-libevent --includedir=/home/deploy/build/include --libdir=/home/deploy/build/lib make make install mv lib lib64 Now i have downloaded python binding and have the direc in /home/deploy/getdns-python-bindings-master. Now when i execute python setup.py install i get below errors running install running build running build_ext building 'getdns' extension 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 getdns.c:43:27: error: getdns/getdns.h: No such file or directory getdns.c:44:40: error: getdns/getdns_ext_libevent.h: No such file or directory In file included from getdns.c:47: pygetdns.h:76: error: expected specifier-qualifier-list before ?getdns_resolution_t? pygetdns.h:101: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:101: warning: its scope is only this definition or declaration, which is probably not what you want pygetdns.h:104: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:105: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:106: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:107: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:108: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:109: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:114: error: expected ?)? before ?*? token pygetdns.h:115: error: expected ?)? before ?*? token pygetdns.h:116: error: expected ?)? before ?*? token pygetdns.h:117: error: expected ?)? before ?*? token pygetdns.h:118: error: expected ?)? before ?*? token pygetdns.h:119: error: expected ?)? before ?*? token pygetdns.h:120: error: expected ?)? before ?*? token pygetdns.h:121: error: expected ?)? before ?*? token pygetdns.h:122: error: expected ?)? before ?*? token pygetdns.h:123: error: expected ?)? before ?*? token pygetdns.h:124: error: expected ?)? before ?*? token pygetdns.h:125: error: expected ?)? before ?*? token pygetdns.h:126: error: expected ?)? before ?*? token pygetdns.h:127: error: expected ?)? before ?*? token pygetdns.h:128: error: expected ?)? before ?*? token pygetdns.h:129: error: expected ?)? before ?*? token pygetdns.h:143: error: expected declaration specifiers or ?...? before ?getdns_callback_type_t? pygetdns.h:144: error: expected declaration specifiers or ?...? before ?getdns_transaction_t? pygetdns.h:144: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:144: warning: ?struct getdns_context? declared inside parameter list pygetdns.h:150: error: expected ?)? before ?*? token pygetdns.h:151: warning: ?struct getdns_list? declared inside parameter list pygetdns.h:152: warning: ?struct getdns_dict? declared inside parameter list pygetdns.h:153: error: expected ?)? before ?*? token pygetdns.h:158: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token getdns.c:137: error: ?getdns_ContextObject? has no member named ?resolution_type? getdns.c:139: error: ?getdns_ContextObject? has no member named ?dns_transport? getdns.c:141: error: ?getdns_ContextObject? has no member named ?limit_outstanding_queries? getdns.c:143: error: ?getdns_ContextObject? has no member named ?follow_redirects? getdns.c:145: error: ?getdns_ContextObject? has no member named ?append_name? getdns.c:147: error: ?getdns_ContextObject? has no member named ?dnssec_allowed_skew? getdns.c:149: error: ?getdns_ContextObject? has no member named ?edns_maximum_udp_payload_size? getdns.c:151: error: ?getdns_ContextObject? has no member named ?edns_extended_rcode? getdns.c:153: error: ?getdns_ContextObject? has no member named ?edns_do_bit? getdns.c:155: error: ?getdns_ContextObject? has no member named ?edns_version? getdns.c:156: error: ?getdns_ContextObject? has no member named ?namespaces? getdns.c:158: error: ?getdns_ContextObject? has no member named ?dns_root_servers? getdns.c:160: error: ?getdns_ContextObject? has no member named ?dnssec_trust_anchors? getdns.c:162: error: ?getdns_ContextObject? has no member named ?suffix? getdns.c:163: error: ?getdns_ContextObject? has no member named ?upstream_recursive_servers? getdns.c:166: error: ?getdns_ContextObject? has no member named ?implementation_string? getdns.c:168: error: ?getdns_ContextObject? has no member named ?version_string? getdns.c: In function ?get_errorstr_by_id?: getdns.c:232: error: ?GETDNS_RETURN_INVALID_PARAMETER_TEXT? undeclared (first use in this function) getdns.c:232: error: (Each undeclared identifier is reported only once getdns.c:232: error: for each function it appears in.) getdns.c:232: warning: passing argument 2 of ?PyErr_SetString? from incompatible pointer type /sw/packages/python/current/include/python2.7/pyerrors.h:78: note: expected ?const char *? but argument is of type ?struct PyMemberDef *? getdns.c:235: warning: implicit declaration of function ?getdns_get_errorstr_by_id? getdns.c:235: warning: cast to pointer from integer of different size error: command 'gcc' failed with exit status 1 Can someone help me on this where i go wrong Regards, Shadrach -------------- next part -------------- An HTML attachment was scrubbed... URL: From willem at nlnetlabs.nl Fri Aug 28 12:10:23 2015 From: willem at nlnetlabs.nl (Willem Toorop) Date: Fri, 28 Aug 2015 14:10:23 +0200 Subject: [getdns-api] getdns 0.3.2 release candidate Message-ID: <55E04FAF.7070000@nlnetlabs.nl> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dear All, We have a release candidate for version 0.3.2 of getdns. This is primarily a bugfix release. The most prominent fix is fallback handling of stateful transports. Besides bugfixes, we have two new configure options. With --enable-stub-only getdns will be compiled without libunbound. You can then only use getdns in stub resolution mode and this is then also the default. The--with-getdns_query option will build and install the getdns_query tool that is/was part of the getdns test suite, but might have use cases outside that setting too. Please review this candidate carefully. If all is well, the actual release will follow Friday the fourth of September 2015. link: https://getdnsapi.net/dist/getdns-0.3.2rc1.tar.gz md5 : 0a99a687fbcb63bd11af1ad17d07b2a0 sha1: f9f2b36481b481673b2be34847dd0055a0f36de1 pgp : https://getdnsapi.net/dist/getdns-0.3.2rc1.tar.gz.asc ChangeLog ========= * Fix returned upstreams list by getdns_context_get_api_information() * Fix some autoconf issues when srcdir != builddir * Fix remove build date from manpage version for reproducable builds * Fix transport fallback issues plus transport fallback unit test script * Fix string bindata's need not contain trailing zero byte * --enable-stub-only configure option for stub only operation. Stub mode will be the default. Removes the dependency on libunbound * --with-getdns_query compiles and installs the getdns_query tool too. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJV4E+uAAoJEOX4+CEvd6SYQVYQAJbxdcj1eyvCAbb40/YCcgtR Ru4E+EOM7epVy8shW2+Rf3VtVMPmCHM/gfHlhI1z3Yl/K1ok1kmzI9ayT7sz4rMk C7/kqeyfiSkk2mQbIRFx0P3LnGE+yXR5rGazKonqxaNqafC/LYDgVni3PwN/ZF7o KE33JnfGg1KPCyruanNA59487ZmCrwhAQUNM+Z1zFyl1uK41HBIJYB58pNmvVrVi GRdqGzv4qZVR38kmBMMA5C8qQOvsZUPX8360ao3Premv/zXPNwl2dJREqtNmgAWB C4Y6vj6xMb4uWtTF+jLzW++kiL+F0QTt7VKkv3rNtUgE2Jj/DF2IFO4zxLA1NfEL 2ielIpZhxHQONrkDdkGaHNkvClJl6l7ug4IYAiO3aMJafHEyZz8o4QBqnREvWoE+ 1YOBa46JAoOXW5/XcZmVT5ppkEHF83b/4GhQXLEQd8mEuz/JGpBKU1OAxnW4jQn6 yOvVyoK7mMnj0JgepqzeqFtEXFQXpyETa5EObKqSBvn3UVemCLVbjHHUa4fFlelK V4FaD3cd5yvQiuUDYK2TxoNwTl2rJX2mH1OEuINoeUN6kOtkzbHm4fqJLmQsOso0 eiCuAkUn1H7WDdRj4KRU3ABiotz+fakwYYJHv8BKrmW3J12U5L447zp5TN0JLdsF nVFL45WdAmSYZvrY3S/b =O9qE -----END PGP SIGNATURE----- From shollenbeck at verisign.com Mon Aug 31 12:58:49 2015 From: shollenbeck at verisign.com (Hollenbeck, Scott) Date: Mon, 31 Aug 2015 12:58:49 +0000 Subject: [getdns-api] getdns 0.3.2 release candidate In-Reply-To: <55E04FAF.7070000@nlnetlabs.nl> References: <55E04FAF.7070000@nlnetlabs.nl> Message-ID: <831693C2CDA2E849A7D7A712B24E257F4A068E3B@BRN1WNEXMBX01.vcorp.ad.vrsn.com> > -----Original Message----- > From: spec [mailto:spec-bounces at getdnsapi.net] On Behalf Of Willem > Toorop > Sent: Friday, August 28, 2015 8:10 AM > To: spec at getdnsapi.net > Subject: [getdns-api] getdns 0.3.2 release candidate > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Dear All, > > We have a release candidate for version 0.3.2 of getdns. This is > primarily a bugfix release. The most prominent fix is fallback handling > of stateful transports. > > Besides bugfixes, we have two new configure options. > With --enable-stub-only getdns will be compiled without libunbound. You > can then only use getdns in stub resolution mode and this is then also > the default. > > The--with-getdns_query option will build and install the getdns_query > tool that is/was part of the getdns test suite, but might have use > cases > outside that setting too. > > Please review this candidate carefully. If all is well, the actual > release will follow Friday the fourth of September 2015. I've tested the PHP language bindings with this release candidate. All tests pass successfully. Scott