|
From: | madmurphy |
Subject: | Re: About GNUrl and cURL |
Date: | Mon, 5 Sep 2022 19:21:23 +0100 |
Hi Christian,
I tried to run ./configure
twice. The first time I had installed on my machine curl
(which is linked against openssl
) and gnurl
, but I did not have libcurl-gnutls
installed. Under these conditions at the end of the configure
script I got printed:
... HTTP Client: gnurl ...
The second time I had curl
and libcurl-gnutls
installed, but gnurl
was not installed. Under these conditions at the end of the configure
script I got printed:
... HTTP Client: curl-openssl ...
For some reasons in the second scenario the configure
script sees the curl
package but does not see libcurl-gnutls
and so the latter is not used (I guess). The files shipped by the latter are:
/usr/ /usr/lib/ /usr/lib/libcurl-gnutls.so.3 /usr/lib/libcurl-gnutls.so.4 /usr/lib/libcurl-gnutls.so.4.0.0 /usr/lib/libcurl-gnutls.so.4.1.0 /usr/lib/libcurl-gnutls.so.4.2.0 /usr/lib/libcurl-gnutls.so.4.3.0 /usr/lib/libcurl-gnutls.so.4.4.0 /usr/lib/libcurl-gnutls.so.4.5.0 /usr/lib/libcurl-gnutls.so.4.6.0 /usr/lib/libcurl-gnutls.so.4.7.0 /usr/lib/libcurl-gnutls.so.4.8.0 /usr/share/ /usr/share/licenses/ /usr/share/licenses/libcurl-gnutls
How can we ensure that the configure
script correctly sees the libcurl-gnutls
package?
I paste below both complete outputs.
Installed: curl
, gnurl
Not installed: libcurl-gnutls
:
$ ./configure checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for gawk... (cached) gawk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.29.2... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether unaligned 64-bit access works... yes checking if gcc supports -fno-strict-aliasing... yes checking if gcc supports -Wno-address-of-packed-member... yes checking if gcc supports -Wno-tautological-constant-out-of-range-compare... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for build target... linux checking for library containing gethostbyname... none required checking for library containing memchr... none required checking for library containing memset_s... no checking for library containing explicit_bzero... none required checking for socket in -lsocket... no checking for log in -lm... yes checking for getloadavg... yes checking for getopt... true checking for pkgconf... /usr/bin/pkg-config checking for ssh... true checking for SSH key... no checking for a Python interpreter with version >= 3.4... python checking for python... /usr/bin/python checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages checking for perl... /usr/bin/perl checking for pdflatex... pdflatex checking for the TikZ package for LaTeX... yes checking for pdflatex... (cached) pdflatex checking for the QR Code package for LaTeX... no checking for pdflatex... (cached) pdflatex checking for the Labels package for LaTeX... yes checking for -iptables... no checking for iptables... /usr/bin/iptables checking for -ip6tables... no checking for ip6tables... /usr/bin/ip6tables checking for -ip... no checking for ip... /usr/bin/ip checking for -ifconfig... no checking for ifconfig... /usr/bin/ifconfig checking for adduser... false checking for -sysctl... no checking for sysctl... /usr/bin/sysctl checking for -upnpc... no checking for upnpc... /usr/bin/upnpc checking for checkbashisms... no checking for checkbashisms.pl... no checking for uncrustify... false checking for yapf... no checking for struct tm.tm_gmtoff... yes checking for getaddrinfo_a in -lanl... yes checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.6.0... yes (1.10.1-unknown) checking LIBGCRYPT API version... okay checking for gcc options needed to detect all undeclared functions... none needed checking whether gcry_mpi_set_opaque_copy is declared... yes checking for if_tun.h... no checking for linux/if_tun.h... yes checking whether struct in6_ifreq is declared... no checking for sphinx-build... true checking for mandoc... no checking for a working HMAC... yes checking for static assertion support... yes checking for bluetooth/bluetooth.h... yes checking for ba2str in -lbluetooth... yes checking for zbar.h... yes checking for zbar_processor_create in -lzbar... yes checking for png.h... yes checking for png_create_read_struct in -lpng... yes checking for pabc/pabc.h... yes checking for pabc_new_ctx in -lpabc... no checking for jansson.h... yes checking for json_loads in -ljansson... yes checking for jose/jose.h... yes checking for jose_jwk_gen in -ljose... yes checking for pulse/simple.h... yes checking for pa_stream_peek in -lpulse... yes checking for opus/opus.h... yes checking for opus_decode_float in -lopus... yes checking for ogg/ogg.h... yes checking for ogg_stream_flush_fill in -logg... yes checking for GST... yes checking for conversation feature set to build... pulse checking for gawk... (cached) gawk checking for gnurl-config... /usr/bin/gnurl-config checking for the version of libgnurl... 7.72.0 checking for libgnurl >= version 7.34.0... yes checking whether libgnurl is usable... yes checking for curl_free... yes checking for library containing __atomic_load_8... -latomic checking for nss.h... yes checking whether NSS_STATUS_UNAVAIL is declared... yes checking for kvm_open in -lkvm... no checking for kstat_open in -lkstat... no checking for sodium.h... yes checking for crypto_core_ed25519_scalar_mul in -lsodium... yes checking for extractor.h... yes checking for EXTRACTOR_plugin_add_defaults in -lextractor... yes checking for ltdl.h... yes checking for lt_dlopenext in -lltdl... yes checking for idn2.h... yes checking for idn2_to_unicode_8z8z in -lidn2... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for libunistring... yes checking how to link with libunistring... /usr/lib/libunistring.so checking for libunistring version... 1.0.0 checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for the PostgreSQL libraries CPPFLAGS... checking for the PostgreSQL libraries LDFLAGS... checking for the PostgreSQL libraries LIBS... -lpq checking for the PostgreSQL version... 14.5 checking for libpq-fe.h... yes checking for the PostgreSQL library linking is working... yes checking for libpq-fe.h... (cached) yes checking for mysql_init in -lmysqlclient... no checking for MHD... yes checking for gnutls/abstract.h... yes checking for gnutls_priority_set in -lgnutls... yes checking for gnutls/dane.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl.h... yes checking for math.h... yes checking for errno.h... yes checking for ctype.h... yes checking for limits.h... yes checking for stdarg.h... yes checking for signal.h... yes checking for locale.h... yes checking for stdatomic.h... yes checking for malloc.h... yes checking for malloc/malloc.h... no checking for malloc/malloc_np.h... no checking for langinfo.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/statvfs.h... yes checking for sys/select.h... yes checking for sockLib.h... no checking for sys/mman.h... yes checking for sys/msg.h... yes checking for sys/vfs.h... yes checking for arpa/inet.h... yes checking for libintl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/sysinfo.h... yes checking for sys/file.h... yes checking for sys/resource.h... yes checking for ifaddrs.h... yes checking for mach/mach.h... no checking for sys/timeb.h... yes checking for argz.h... yes checking for ucred.h... no checking for sys/ucred.h... no checking for endian.h... yes checking for sys/endian.h... no checking for execinfo.h... yes checking for byteswap.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pid_t... yes checking for size_t... yes checking for mode_t... yes checking whether stat file-mode macros are broken... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_un.sun_len... no checking for off_t... yes checking for uid_t in sys/types.h... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working chown... yes checking for atoll... yes checking for stat64... yes checking for strnlen... yes checking for mremap... yes checking for getrlimit... yes checking for setrlimit... yes checking for sysconf... yes checking for initgroups... yes checking for strndup... yes checking for gethostbyname2... yes checking for getpeerucred... no checking for getpeereid... no checking for setresuid... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for getresgid... yes checking for mallinfo2... yes checking for malloc_size... no checking for malloc_usable_size... yes checking for getrusage... yes checking for random... yes checking for srandom... yes checking for stat... yes checking for statfs... yes checking for statvfs... yes checking for wait4... yes checking for timegm... yes checking for sudo... sudo checking for doas... no checking if __thread is supported... yes checking for git... /usr/bin/git checking if source is under a VCS... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bin/Makefile config.status: creating contrib/Makefile config.status: creating contrib/hellos/Makefile config.status: creating contrib/services/Makefile config.status: creating contrib/services/openrc/Makefile config.status: creating contrib/services/systemd/Makefile config.status: creating contrib/scripts/Makefile config.status: creating contrib/scripts/gnunet-logread/Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/doxygen/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating src/arm/Makefile config.status: creating src/arm/arm.conf config.status: creating src/ats/Makefile config.status: creating src/ats/ats.conf config.status: creating src/ats-tool/Makefile config.status: creating src/auction/Makefile config.status: creating src/block/Makefile config.status: creating src/cadet/Makefile config.status: creating src/cadet/cadet.conf config.status: creating src/core/Makefile config.status: creating src/core/core.conf config.status: creating src/consensus/Makefile config.status: creating src/consensus/consensus.conf config.status: creating src/conversation/Makefile config.status: creating src/conversation/conversation.conf config.status: creating src/curl/Makefile config.status: creating src/datacache/Makefile config.status: creating src/datastore/Makefile config.status: creating src/datastore/datastore.conf config.status: creating src/dht/Makefile config.status: creating src/dht/dht.conf config.status: creating src/dhtu/Makefile config.status: creating src/dns/Makefile config.status: creating src/dns/dns.conf config.status: creating src/exit/Makefile config.status: creating src/fragmentation/Makefile config.status: creating src/fs/Makefile config.status: creating src/fs/fs.conf config.status: creating src/gns/Makefile config.status: creating src/gns/gns.conf config.status: creating src/gns/nss/Makefile config.status: creating src/gnsrecord/Makefile config.status: creating src/hello/Makefile config.status: creating src/identity/Makefile config.status: creating src/identity/identity.conf config.status: creating src/include/Makefile config.status: creating src/integration-tests/Makefile config.status: creating src/json/Makefile config.status: creating src/hostlist/Makefile config.status: creating src/my/Makefile config.status: creating src/mysql/Makefile config.status: creating src/namecache/Makefile config.status: creating src/namecache/namecache.conf config.status: creating src/namestore/Makefile config.status: creating src/namestore/namestore.conf config.status: creating src/nat/Makefile config.status: creating src/nat/nat.conf config.status: creating src/nat-auto/Makefile config.status: creating src/nat-auto/nat-auto.conf config.status: creating src/nse/Makefile config.status: creating src/nse/nse.conf config.status: creating src/nt/Makefile config.status: creating src/peerinfo/Makefile config.status: creating src/peerinfo/peerinfo.conf config.status: creating src/peerinfo-tool/Makefile config.status: creating src/peerstore/Makefile config.status: creating src/peerstore/peerstore.conf config.status: creating src/pq/Makefile config.status: creating src/pt/Makefile config.status: creating src/regex/Makefile config.status: creating src/regex/regex.conf config.status: creating src/revocation/Makefile config.status: creating src/revocation/revocation.conf config.status: creating src/rps/Makefile config.status: creating src/rps/rps.conf config.status: creating src/secretsharing/Makefile config.status: creating src/secretsharing/secretsharing.conf config.status: creating src/scalarproduct/Makefile config.status: creating src/scalarproduct/scalarproduct.conf config.status: creating src/set/Makefile config.status: creating src/set/set.conf config.status: creating src/seti/Makefile config.status: creating src/seti/seti.conf config.status: creating src/setu/Makefile config.status: creating src/setu/setu.conf config.status: creating src/sq/Makefile config.status: creating src/statistics/Makefile config.status: creating src/statistics/statistics.conf config.status: creating src/template/Makefile config.status: creating src/testbed/Makefile config.status: creating src/testbed/testbed.conf config.status: creating src/testbed-logger/Makefile config.status: creating src/testbed-logger/testbed-logger.conf config.status: creating src/testing/Makefile config.status: creating src/topology/Makefile config.status: creating src/transport/Makefile config.status: creating src/transport/transport.conf config.status: creating src/util/Makefile config.status: creating src/util/resolver.conf config.status: creating src/vpn/Makefile config.status: creating src/vpn/vpn.conf config.status: creating src/zonemaster/Makefile config.status: creating src/zonemaster/zonemaster.conf config.status: creating src/rest/Makefile config.status: creating src/abd/Makefile config.status: creating src/abd/abd.conf config.status: creating src/reclaim/Makefile config.status: creating src/messenger/Makefile config.status: creating src/messenger/messenger.conf config.status: creating pkgconfig/Makefile config.status: creating pkgconfig/gnunetarm.pc config.status: creating pkgconfig/gnunetats.pc config.status: creating pkgconfig/gnunetblock.pc config.status: creating pkgconfig/gnunetcadet.pc config.status: creating pkgconfig/gnunetconsensus.pc config.status: creating pkgconfig/gnunetconversation.pc config.status: creating pkgconfig/gnunetcore.pc config.status: creating pkgconfig/gnunetdatacache.pc config.status: creating pkgconfig/gnunetdatastore.pc config.status: creating pkgconfig/gnunetdht.pc config.status: creating pkgconfig/gnunetdns.pc config.status: creating pkgconfig/gnunetenv.pc config.status: creating pkgconfig/gnunetfragmentation.pc config.status: creating pkgconfig/gnunetfs.pc config.status: creating pkgconfig/gnunetgns.pc config.status: creating pkgconfig/gnunethello.pc config.status: creating pkgconfig/gnunetidentity.pc config.status: creating pkgconfig/gnunetmicrophone.pc config.status: creating pkgconfig/gnunetmysql.pc config.status: creating pkgconfig/gnunetnamestore.pc config.status: creating pkgconfig/gnunetnat.pc config.status: creating pkgconfig/gnunetnse.pc config.status: creating pkgconfig/gnunetpeerinfo.pc config.status: creating pkgconfig/gnunetpq.pc config.status: creating pkgconfig/gnunetregex.pc config.status: creating pkgconfig/gnunetrevocation.pc config.status: creating pkgconfig/gnunetrps.pc config.status: creating pkgconfig/gnunetscalarproduct.pc config.status: creating pkgconfig/gnunetset.pc config.status: creating pkgconfig/gnunetspeaker.pc config.status: creating pkgconfig/gnunetstatistics.pc config.status: creating pkgconfig/gnunettestbed.pc config.status: creating pkgconfig/gnunettesting.pc config.status: creating pkgconfig/gnunettransport.pc config.status: creating pkgconfig/gnunetutil.pc config.status: creating pkgconfig/gnunetvpn.pc config.status: creating gnunet_config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: GnuTLS lacks DANE support; validation using it will not be possible configure: WARNING: Your version of Python is not supported, you might see issues configure: Detected system =============== GNUnet version: 0.17.5 Host Setup: x86_64-pc-linux-gnu Install Prefix: /usr Compiler: gcc CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member CPPFLAGS: LDFLAGS: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--unresolved-symbols=report-all LIBS: -lm Build Target: linux Default Interface: eth0 sqlite3: yes MySQL: no PostgreSQL: yes HTTP Client: gnurl Bluetooth: yes iptables: yes ifconfig: yes UPnPc: yes GnuTLS: yes (without DANE support) LaTeX: yes libextractor: yes libzbar: yes libpng: yes libidn: libidn2 libopus: yes libpulse: yes gstreamer: no Java: no sphinx: yes mandoc: no GNUnet configuration ==================== Transports: tcp udp unix http wlan Conversation: yes (pulse) Database Backends postgres sqlite Experimental Code: yes Transpiled mdocml Manual: configure: For detailed setup instructions, type 'info gnunet' after the installation or visit https://docs.gnunet.org/
Installed: curl
, libcurl-gnutls
Not installed: gnurl
$ ./configure checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for gawk... (cached) gawk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.29.2... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether unaligned 64-bit access works... yes checking if gcc supports -fno-strict-aliasing... yes checking if gcc supports -Wno-address-of-packed-member... yes checking if gcc supports -Wno-tautological-constant-out-of-range-compare... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for build target... linux checking for library containing gethostbyname... none required checking for library containing memchr... none required checking for library containing memset_s... no checking for library containing explicit_bzero... none required checking for socket in -lsocket... no checking for log in -lm... yes checking for getloadavg... yes checking for getopt... true checking for pkgconf... /usr/bin/pkg-config checking for ssh... true checking for SSH key... no checking for a Python interpreter with version >= 3.4... python checking for python... /usr/bin/python checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages checking for perl... /usr/bin/perl checking for pdflatex... pdflatex checking for the TikZ package for LaTeX... yes checking for pdflatex... (cached) pdflatex checking for the QR Code package for LaTeX... no checking for pdflatex... (cached) pdflatex checking for the Labels package for LaTeX... yes checking for -iptables... no checking for iptables... /usr/bin/iptables checking for -ip6tables... no checking for ip6tables... /usr/bin/ip6tables checking for -ip... no checking for ip... /usr/bin/ip checking for -ifconfig... no checking for ifconfig... /usr/bin/ifconfig checking for adduser... false checking for -sysctl... no checking for sysctl... /usr/bin/sysctl checking for -upnpc... no checking for upnpc... /usr/bin/upnpc checking for checkbashisms... no checking for checkbashisms.pl... no checking for uncrustify... false checking for yapf... no checking for struct tm.tm_gmtoff... yes checking for getaddrinfo_a in -lanl... yes checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.6.0... yes (1.10.1-unknown) checking LIBGCRYPT API version... okay checking for gcc options needed to detect all undeclared functions... none needed checking whether gcry_mpi_set_opaque_copy is declared... yes checking for if_tun.h... no checking for linux/if_tun.h... yes checking whether struct in6_ifreq is declared... no checking for sphinx-build... true checking for mandoc... no checking for a working HMAC... yes checking for static assertion support... yes checking for bluetooth/bluetooth.h... yes checking for ba2str in -lbluetooth... yes checking for zbar.h... yes checking for zbar_processor_create in -lzbar... yes checking for png.h... yes checking for png_create_read_struct in -lpng... yes checking for pabc/pabc.h... yes checking for pabc_new_ctx in -lpabc... no checking for jansson.h... yes checking for json_loads in -ljansson... yes checking for jose/jose.h... yes checking for jose_jwk_gen in -ljose... yes checking for pulse/simple.h... yes checking for pa_stream_peek in -lpulse... yes checking for opus/opus.h... yes checking for opus_decode_float in -lopus... yes checking for ogg/ogg.h... yes checking for ogg_stream_flush_fill in -logg... yes checking for GST... yes checking for conversation feature set to build... pulse checking for gawk... (cached) gawk checking for gnurl-config... no checking whether libgnurl is usable... no checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.85.0 checking for libcurl >= version 7.34.0... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for library containing __atomic_load_8... -latomic checking for nss.h... yes checking whether NSS_STATUS_UNAVAIL is declared... yes checking for kvm_open in -lkvm... no checking for kstat_open in -lkstat... no checking for sodium.h... yes checking for crypto_core_ed25519_scalar_mul in -lsodium... yes checking for extractor.h... yes checking for EXTRACTOR_plugin_add_defaults in -lextractor... yes checking for ltdl.h... yes checking for lt_dlopenext in -lltdl... yes checking for idn2.h... yes checking for idn2_to_unicode_8z8z in -lidn2... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for libunistring... yes checking how to link with libunistring... /usr/lib/libunistring.so checking for libunistring version... 1.0.0 checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for the PostgreSQL libraries CPPFLAGS... checking for the PostgreSQL libraries LDFLAGS... checking for the PostgreSQL libraries LIBS... -lpq checking for the PostgreSQL version... 14.5 checking for libpq-fe.h... yes checking for the PostgreSQL library linking is working... yes checking for libpq-fe.h... (cached) yes checking for mysql_init in -lmysqlclient... no checking for MHD... yes checking for gnutls/abstract.h... yes checking for gnutls_priority_set in -lgnutls... yes checking for gnutls/dane.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl.h... yes checking for math.h... yes checking for errno.h... yes checking for ctype.h... yes checking for limits.h... yes checking for stdarg.h... yes checking for signal.h... yes checking for locale.h... yes checking for stdatomic.h... yes checking for malloc.h... yes checking for malloc/malloc.h... no checking for malloc/malloc_np.h... no checking for langinfo.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/statvfs.h... yes checking for sys/select.h... yes checking for sockLib.h... no checking for sys/mman.h... yes checking for sys/msg.h... yes checking for sys/vfs.h... yes checking for arpa/inet.h... yes checking for libintl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/sysinfo.h... yes checking for sys/file.h... yes checking for sys/resource.h... yes checking for ifaddrs.h... yes checking for mach/mach.h... no checking for sys/timeb.h... yes checking for argz.h... yes checking for ucred.h... no checking for sys/ucred.h... no checking for endian.h... yes checking for sys/endian.h... no checking for execinfo.h... yes checking for byteswap.h... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pid_t... yes checking for size_t... yes checking for mode_t... yes checking whether stat file-mode macros are broken... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_un.sun_len... no checking for off_t... yes checking for uid_t in sys/types.h... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working chown... yes checking for atoll... yes checking for stat64... yes checking for strnlen... yes checking for mremap... yes checking for getrlimit... yes checking for setrlimit... yes checking for sysconf... yes checking for initgroups... yes checking for strndup... yes checking for gethostbyname2... yes checking for getpeerucred... no checking for getpeereid... no checking for setresuid... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for getresgid... yes checking for mallinfo2... yes checking for malloc_size... no checking for malloc_usable_size... yes checking for getrusage... yes checking for random... yes checking for srandom... yes checking for stat... yes checking for statfs... yes checking for statvfs... yes checking for wait4... yes checking for timegm... yes checking for sudo... sudo checking for doas... no checking if __thread is supported... yes checking for git... /usr/bin/git checking if source is under a VCS... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bin/Makefile config.status: creating contrib/Makefile config.status: creating contrib/hellos/Makefile config.status: creating contrib/services/Makefile config.status: creating contrib/services/openrc/Makefile config.status: creating contrib/services/systemd/Makefile config.status: creating contrib/scripts/Makefile config.status: creating contrib/scripts/gnunet-logread/Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/doxygen/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating src/arm/Makefile config.status: creating src/arm/arm.conf config.status: creating src/ats/Makefile config.status: creating src/ats/ats.conf config.status: creating src/ats-tool/Makefile config.status: creating src/auction/Makefile config.status: creating src/block/Makefile config.status: creating src/cadet/Makefile config.status: creating src/cadet/cadet.conf config.status: creating src/core/Makefile config.status: creating src/core/core.conf config.status: creating src/consensus/Makefile config.status: creating src/consensus/consensus.conf config.status: creating src/conversation/Makefile config.status: creating src/conversation/conversation.conf config.status: creating src/curl/Makefile config.status: creating src/datacache/Makefile config.status: creating src/datastore/Makefile config.status: creating src/datastore/datastore.conf config.status: creating src/dht/Makefile config.status: creating src/dht/dht.conf config.status: creating src/dhtu/Makefile config.status: creating src/dns/Makefile config.status: creating src/dns/dns.conf config.status: creating src/exit/Makefile config.status: creating src/fragmentation/Makefile config.status: creating src/fs/Makefile config.status: creating src/fs/fs.conf config.status: creating src/gns/Makefile config.status: creating src/gns/gns.conf config.status: creating src/gns/nss/Makefile config.status: creating src/gnsrecord/Makefile config.status: creating src/hello/Makefile config.status: creating src/identity/Makefile config.status: creating src/identity/identity.conf config.status: creating src/include/Makefile config.status: creating src/integration-tests/Makefile config.status: creating src/json/Makefile config.status: creating src/hostlist/Makefile config.status: creating src/my/Makefile config.status: creating src/mysql/Makefile config.status: creating src/namecache/Makefile config.status: creating src/namecache/namecache.conf config.status: creating src/namestore/Makefile config.status: creating src/namestore/namestore.conf config.status: creating src/nat/Makefile config.status: creating src/nat/nat.conf config.status: creating src/nat-auto/Makefile config.status: creating src/nat-auto/nat-auto.conf config.status: creating src/nse/Makefile config.status: creating src/nse/nse.conf config.status: creating src/nt/Makefile config.status: creating src/peerinfo/Makefile config.status: creating src/peerinfo/peerinfo.conf config.status: creating src/peerinfo-tool/Makefile config.status: creating src/peerstore/Makefile config.status: creating src/peerstore/peerstore.conf config.status: creating src/pq/Makefile config.status: creating src/pt/Makefile config.status: creating src/regex/Makefile config.status: creating src/regex/regex.conf config.status: creating src/revocation/Makefile config.status: creating src/revocation/revocation.conf config.status: creating src/rps/Makefile config.status: creating src/rps/rps.conf config.status: creating src/secretsharing/Makefile config.status: creating src/secretsharing/secretsharing.conf config.status: creating src/scalarproduct/Makefile config.status: creating src/scalarproduct/scalarproduct.conf config.status: creating src/set/Makefile config.status: creating src/set/set.conf config.status: creating src/seti/Makefile config.status: creating src/seti/seti.conf config.status: creating src/setu/Makefile config.status: creating src/setu/setu.conf config.status: creating src/sq/Makefile config.status: creating src/statistics/Makefile config.status: creating src/statistics/statistics.conf config.status: creating src/template/Makefile config.status: creating src/testbed/Makefile config.status: creating src/testbed/testbed.conf config.status: creating src/testbed-logger/Makefile config.status: creating src/testbed-logger/testbed-logger.conf config.status: creating src/testing/Makefile config.status: creating src/topology/Makefile config.status: creating src/transport/Makefile config.status: creating src/transport/transport.conf config.status: creating src/util/Makefile config.status: creating src/util/resolver.conf config.status: creating src/vpn/Makefile config.status: creating src/vpn/vpn.conf config.status: creating src/zonemaster/Makefile config.status: creating src/zonemaster/zonemaster.conf config.status: creating src/rest/Makefile config.status: creating src/abd/Makefile config.status: creating src/abd/abd.conf config.status: creating src/reclaim/Makefile config.status: creating src/messenger/Makefile config.status: creating src/messenger/messenger.conf config.status: creating pkgconfig/Makefile config.status: creating pkgconfig/gnunetarm.pc config.status: creating pkgconfig/gnunetats.pc config.status: creating pkgconfig/gnunetblock.pc config.status: creating pkgconfig/gnunetcadet.pc config.status: creating pkgconfig/gnunetconsensus.pc config.status: creating pkgconfig/gnunetconversation.pc config.status: creating pkgconfig/gnunetcore.pc config.status: creating pkgconfig/gnunetdatacache.pc config.status: creating pkgconfig/gnunetdatastore.pc config.status: creating pkgconfig/gnunetdht.pc config.status: creating pkgconfig/gnunetdns.pc config.status: creating pkgconfig/gnunetenv.pc config.status: creating pkgconfig/gnunetfragmentation.pc config.status: creating pkgconfig/gnunetfs.pc config.status: creating pkgconfig/gnunetgns.pc config.status: creating pkgconfig/gnunethello.pc config.status: creating pkgconfig/gnunetidentity.pc config.status: creating pkgconfig/gnunetmicrophone.pc config.status: creating pkgconfig/gnunetmysql.pc config.status: creating pkgconfig/gnunetnamestore.pc config.status: creating pkgconfig/gnunetnat.pc config.status: creating pkgconfig/gnunetnse.pc config.status: creating pkgconfig/gnunetpeerinfo.pc config.status: creating pkgconfig/gnunetpq.pc config.status: creating pkgconfig/gnunetregex.pc config.status: creating pkgconfig/gnunetrevocation.pc config.status: creating pkgconfig/gnunetrps.pc config.status: creating pkgconfig/gnunetscalarproduct.pc config.status: creating pkgconfig/gnunetset.pc config.status: creating pkgconfig/gnunetspeaker.pc config.status: creating pkgconfig/gnunetstatistics.pc config.status: creating pkgconfig/gnunettestbed.pc config.status: creating pkgconfig/gnunettesting.pc config.status: creating pkgconfig/gnunettransport.pc config.status: creating pkgconfig/gnunetutil.pc config.status: creating pkgconfig/gnunetvpn.pc config.status: creating gnunet_config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: GnuTLS lacks DANE support; validation using it will not be possible configure: WARNING: Your version of Python is not supported, you might see issues configure: Detected system =============== GNUnet version: 0.17.5 Host Setup: x86_64-pc-linux-gnu Install Prefix: /usr Compiler: gcc CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member CPPFLAGS: LDFLAGS: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--unresolved-symbols=report-all LIBS: -lm Build Target: linux Default Interface: eth0 sqlite3: yes MySQL: no PostgreSQL: yes HTTP Client: curl-openssl Bluetooth: yes iptables: yes ifconfig: yes UPnPc: yes GnuTLS: yes (without DANE support) LaTeX: yes libextractor: yes libzbar: yes libpng: yes libidn: libidn2 libopus: yes libpulse: yes gstreamer: no Java: no sphinx: yes mandoc: no GNUnet configuration ==================== Transports: tcp udp unix http wlan Conversation: yes (pulse) Database Backends postgres sqlite Experimental Code: yes Transpiled mdocml Manual: configure: For detailed setup instructions, type 'info gnunet' after the installation or visit https://docs.gnunet.org/
Did you happen to have both libcurl-gnutls and libcurl-openssl
installed, and maybe configure found the wrong one?
On 9/5/22 18:56, madmurphy wrote:
> Mmm I just checked better, and the |configure| script now says:
>
> ...
> HTTP Client: curl-openssl
> ...
>
> That is not a good sign, right?
>
>
> On Mon, Sep 5, 2022 at 5:47 PM madmurphy <madmurphy333@gmail.com
> <mailto:madmurphy333@gmail.com>> wrote:
>
> Indeed, there is a dedicated package on Arch, |libcurl-gnutls|
> <https://archlinux.org/packages/core/x86_64/libcurl-gnutls/>. I just
> checked, and it seems that GNUnet works fine with it. Package
> updated
> <https://aur.archlinux.org/cgit/aur.git/commit/?h=gnunet&id=3693252e6dcdf53bfa428b4c078729c08f68ecde>.
>
> --madmurphy
>
>
> On Mon, Sep 5, 2022 at 4:25 PM Christian Grothoff
> <grothoff@gnunet.org <mailto:grothoff@gnunet.org>> wrote:
>
> If Arch has a curl linked against GnuTLS, then yes. -Christian
>
> On 9/5/22 17:11, madmurphy wrote:
> > On Arch GNUnet still depends on GNUrl, but as far as I
> understood now
> > cURL is preferred. Would I do the right thing if updated the Arch
> > package accordingly and dropped the GNUrl dependency for good?
> >
> > --madmurphy
>
[Prev in Thread] | Current Thread | [Next in Thread] |