libgcrypt 1.8.1 nPth Build Fails, macOS 10.12.6

TErik Ashfolk aterik at outlook.com
Fri Sep 1 19:44:35 CEST 2017


Hi.

libgcrypt 1.8.1, nPth build/compile fails in macOS 10.12.6 Sierra MBA.
libgcrypt 1.8.0 was built fine in same machine.

The "./configure" succeeds.
But in "make", warning appears for global.c & gcrypt-testapi.h, case value not in enumerated type 'enum gcry_ctl_cmds'... And ERROR appears for /ur/local/include/pthread.h:286:42: typedef redefinition with different types ('struct
pthread_attr_st *' vs '_darwin_pthread_attr_t'...
Neither "./configire --disable-threads" or "./configure --enable-threads=no" worked/recognized ! :(

Pth (pthread) native/local builds ok. nPth does not.
And it seems, after i re-build Pth then some other src succeeds in build, otherwise not, So maybe something often replacing Pth libs?!

Loaded Pth, nPth using MacPorts, but seems to have no affect. (i avoid using HomeBrew for their data-sharing anti-privacy policies).

If i load the build related Env Vars which have dir locations of MacPorts & other libs, build-tools, etc, then build does not succeed often, so i kept build related Env Vars empty, but compile/build tools seems to be still able to locate necessary libs/headers without specifying into build Env Vars.

btw, MacPorts' lib/include directories are different than native local build's lib/include dirs.

afair, i attempt to build in these sequence: libgpg-error, libassuan, nPth/Pth, libksba, libgcrypt, ntbtls, gpgme, gnupg.

gnupg-2.1.23 build succeeded ok, on same 10.12.6 Sierra, mba.

let me know if/which info needed.

thanks in advance.
Erik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170901/78c1bb81/attachment-0001.html>


More information about the Gnupg-devel mailing list