Thanks Tim. That was it. I changed my dev system to Debian 8 and it compiled fine, but I noticed that it's wget version 1.17. How do I get the wget 2.0 code?
On Sat, Apr 30, 2016 at 11:08 AM, Tim Rühsen <[email protected]> wrote: > Hi Derek, > > it is the commit 54746578 (moparisthebest 2016-03-18 01:55:53 -0400 41). > > Travis added support for pinned pubkeys (TOFU). It looks like it isn't > compatible with older versions of GnuTLS. > > Is it possible for you to update to libgnutls28 (plus -dev package) ? > > If not, you could revert that commit and try again. > > Any other suggestions ? > > Regards, Tim > > Am Freitag, 29. April 2016, 08:07:36 schrieb Derek White: > > Hello, > > > > I'm trying to compile from repo, following the steps outlines here: > > http://wget.addictivecode.org/CompilingRepoSources > > > > but I'm running into an error with gnutls. I'm using fully updated > > gnewsense. Please let me know if you need to see more of the error output > > to diagnose. > > > > Thanks, > > Derek > > > > Here's the gnutls installed on my system: > > $ sudo dpkg -s libgnutls-dev > > Package: libgnutls-dev > > Status: install ok installed > > Priority: optional > > Section: libdevel > > Installed-Size: 1900 > > Maintainer: Debian GnuTLS Maintainers < > > [email protected]> > > Architecture: amd64 > > Source: gnutls26 > > Version: 2.8.6-1+squeeze3 > > Replaces: gnutls-dev (<< 0.4.0-0), gnutls0.4-dev, libgnutls11-dev > > Provides: gnutls-dev > > Depends: libgnutls26 (= 2.8.6-1+squeeze3), libgcrypt11-dev (>= 1.3.0), > > libc6-dev | libc-dev, zlib1g-dev, libtasn1-3-dev (>= 0.3.4) > > Suggests: gnutls-doc, gnutls-bin, guile-gnutls > > Conflicts: gnutls-dev (<< 0.4.0-0), gnutls0.4-dev, libgnutls11-dev > > Description: the GNU TLS library - development files > > gnutls is a portable library which implements the Transport Layer > > Security (TLS) 1.0 and Secure Sockets Layer (SSL) 3.0 protocols. > > . > > Currently gnutls implements: > > - the TLS 1.0 and SSL 3.0 protocols, without any US-export > > controlled algorithms > > - X509 Public Key Infrastructure (with several limitations). > > - SRP for TLS authentication. > > - TLS Extension mechanism > > . > > This package contains the gnutls development files. > > Homepage: http://www.gnutls.org/ > > > ---------------------------------------------------------------------------- > > ----------------- > > > > Here's the output: > > echo '/* version.c */' > version.c > > echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> version.c > > echo '' >> version.c > > echo '#include "version.h"' >> version.c > > echo 'const char *version_string = "1.17.1.42-42cc8";' >> version.c > > echo 'const char *compilation_string = "'gcc -DHAVE_CONFIG_H > > -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" > > -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I../lib -I../lib > > -DHAVE_LIBGNUTLS -DNDEBUG '";' \ > > > > | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c > > > > echo 'const char *link_string = "'gcc -DHAVE_LIBGNUTLS -DNDEBUG \ > > -lgnutls -lz -lidn -lrt ftp-opie.o gnutls.o ../lib/libgnu.a'";' \ > > > > | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c > > > > CC version.o > > CC ftp-opie.o > > CC gnutls.o > > gnutls.c:41:29: error: gnutls/abstract.h: No such file or directory > > gnutls.c: In function 'pkp_pin_peer_pubkey': > > gnutls.c:703: error: 'gnutls_pubkey_t' undeclared (first use in this > > function) > > gnutls.c:703: error: (Each undeclared identifier is reported only once > > gnutls.c:703: error: for each function it appears in.) > > gnutls.c:703: error: expected ';' before 'key' > > gnutls.c:717: error: 'key' undeclared (first use in this function) > > make[3]: *** [gnutls.o] Error 1 >
