id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field 5481,GnuTLS build fails on macOS Mojave,kali0ad,,"I'm trying to follow the instructions here: https://trac.wildfiregames.com/wiki/BuildInstructions#OSX to build the game on my Mac. The build fails during the `./build-osx-libs.sh -j3` command. Below is a snippet of the output: {{{ ... checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for Minix Amsterdam compiler... no checking for ar... ar checking the archiver (ar) interface... ar checking for ar... (cached) ar checking for ranlib... ranlib checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking dependency style of clang... gcc3 checking the archiver (ar) interface... (cached) ar checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... gcc3 checking for bison... bison -y checking for a sed that does not truncate output... /usr/bin/sed checking for clang option to accept ISO C99... none needed checking whether to build with code coverage support... no checking whether to enable maintainer-specific portions of Makefiles... yes checking for autogen... : configure: WARNING: *** *** autogen not found. Will not link against libopts. *** checking for inline... inline checking for ANSI C header files... (cached) yes checking cpuid.h usability... yes checking cpuid.h presence... yes checking for cpuid.h... yes checking for struct iovec.iov_basea... no checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking for getrandom... no checking for getentropy... yes checking for NETTLE... configure: error: *** *** Libnettle 3.1 was not found. ERROR: GnuTLS build failed }}} After some Googling, it looks like this could be: a) an issue with the --enable-shared flag (https://gitlab.com/gnutls/gnutls/blob/master/INSTALL.md#compilation) b) an issue with libhogweed.so (https://stackoverflow.com/questions/9508851/how-to-compile-gnutls) c) the path to libnettle (https://lists.gnupg.org/pipermail/gnutls-help/2016-July/004134.html) d) something else I also tried installing libnettle outside of 0ad with the directions here: http://www.linuxfromscratch.org/blfs/view/8.3-systemd/postlfs/nettle.html but was unable to install it. The configuration command runs fine, but `sudo make install` results in: {{{ ./install-sh -c -d /usr/share/info f=nettle.info ; \ [ -f $f ] || f=""./$f"" ; \ /usr/bin/install -c -m 644 ""$f"" /usr/share/info ; \ if (install-info --version && \ install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ install-info --info-dir=""/usr/share/info"" ""$f"" ; \ else : ; fi install: /usr/share/info/nettle.info: Operation not permitted /usr/share/info/dir: Operation not permitted make[1]: *** [install-info] Error 1 make: *** [install] Error 2 }}} Anyone else able to build 0ad on a Mac successfully?",defect,closed,Should Have,,Build & Packages,duplicate,,,