Compiling danetls – an adventure.

Sisyphus is still a role model

I had a go at compling danetls  -github.com/shuque/danetls – i already had ldns complied [ancient compile] for dnssec expiry the other things not so.  – for context [my blog]

It complies regardless bar this

make cc -g -Wall -Wextra -I. -I/usr/local/openssl/include -I/usr/local/include -c -o query-getdns.o query-getdns.c query-getdns.c:23:10: fatal error: getdns/getdns_ext_libevent.h: No such file or directory #include <getdns/getdns_ext_libevent.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [: query-getdns.o] Error 1

Then works but does not appear to get tlsa records except for one domain.

/getdns-1.6.0/build$ cmake .. -- Found OpenSSL: /usr/lib/i386-linux-gnu/libcrypto.so (found suitable version "1.1.1d", minimum required is "1.0.2") -- Found OpenSSL: /usr/lib/i386-linux-gnu/libcrypto.so (found version "1.1.1d") CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Check (missing: CHECK_LIBRARIES CHECK_INCLUDE_DIR) (Required is at least version "0.9.6") Call Stack (most recent call first): /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindCheck.cmake:92 (find_package_handle_standard_args) CMakeLists.txt:937 (find_package)

I guess is related to

23 February 2016: Wouter ub_ctx_set_stub() function for libunbound to config stub zones. sorted ubsyms.def file with exported libunbound functions

That.  It seems that this is a very specific compile job. 

Oh well.

 

by golly but...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.