[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Two small problems building wget2 2.0.0
From: |
Antonio Diaz Diaz |
Subject: |
Two small problems building wget2 2.0.0 |
Date: |
Mon, 27 Sep 2021 20:06:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hi Tim.
Thanks for this new release of wget.
I have found a couple problems while building wget2 2.0.0:
In file included from decompressor.c:63:0:
/usr/local/include/lzlib.h:63:23: error: unknown type name 'uint8_t'
uint8_t * const buffer, const int size );
^
This can be fixed by including stdint.h before lzlib.h:
--- libwget/decompressor.c~ 2021-08-21 19:47:39.000000000 +0200
+++ libwget/decompressor.c 2021-09-26 18:58:03.000000000 +0200
@@ -60,6 +60,7 @@
#endif
#ifdef WITH_LZIP
+#include <stdint.h> // uint8_t
#include <lzlib.h>
#endif
gpgme.c: In function 'proto_for_content_type':
gpgme.c:50:9: error: 'GPGME_PROTOCOL_UNKNOWN' undeclared (first use in this
function)
return GPGME_PROTOCOL_UNKNOWN;
^
README[.md] says that libgpgme >= 0.4.2 is needed, but I have verified that
the minimum libgpgme version required is 1.1.6. (I had 1.1.4 installed when
I got the error above)
I can't offer a fix for this one because I have no idea of where does
aclocal.m4 take the version 0.4.2 from.
Maybe README[.md], in addition to fixing the libgpgme version, could also
mention the version of lzlib needed:
--- README~ 2021-08-21 19:47:39.000000000 +0200
+++ README 2021-09-27 16:58:23.000000000 +0200
@@ -116,6 +116,7 @@
* libz >= 1.2.3 (the distribution may call the package zlib*, eg. zlib1g
on Debian)
* liblzma >= 5.1.1alpha (optional, if you want HTTP lzma decompression)
* libbz2 >= 1.0.6 (optional, if you want HTTP bzip2 decompression)
+* lzlib >= 1.3 (optional, if you want HTTP lzip decompression)
* libbrotlidec/libbrotli >= 1.0.0 (optional, if you want HTTP brotli
decompression)
* libzstd >= 1.3.0 (optional, if you want HTTP zstd decompression)
* libgnutls (3.3, 3.5 or 3.6)
@@ -126,7 +127,7 @@
* libmicrohttpd >= 0.9.51 (optional, if you want to run the test suite)
* lzip (optional, if you want to build distribution tarballs)
* lcov (optional, for coverage reports)
-* libgpgme >= 0.4.2 (optional, for automatic signature verification)
+* libgpgme >= 1.1.6 (optional, for automatic signature verification)
* libpcre | libpcre2 (optional, for filtering by PCRE|PCRE2 regex)
* libhsts (optional, to support HSTS preload lists)
* libwolfssl (optional, to support WolfSSL instead of GnuTLS)
Best regards,
Antonio.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Two small problems building wget2 2.0.0,
Antonio Diaz Diaz <=