Ticket #4489 (closed Patch: fixed)

Opened 6 years ago

Last modified 6 years ago

Compile problems with >=gnutls-2.7.0

Reported by: Voyageur Owned by: codesquid
Priority: normal Component: FileZilla Client
Keywords: Cc:
Operating system type: Linux Operating system version: Gentoo

Description

=gnutls-2.7.0 no longer defines the macro AM_PATH_LIBGNUTLS or distributes gnutls-config that filezilla uses to identify version (via libgnutls.m4).

pkg-config is the replacement that has been distributed by gnutls at least in
version 2.2.5.

I'll attach a patch to use PKG_CHECK_MODULES instead, tested with gnutls-2.7.8 and gnutls-2.6.6, please review

Current output configure with new gnutls:
checking for libgnutls-config... no
checking for libgnutls - version >= 2.0.4... no
*** The libgnutls-config script installed by LIBGNUTLS could not be found
*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBGNUTLS_CONFIG environment variable to the
*** full path to libgnutls-config.
configure: error:
***
*** libgnutls 2.0.4 or greater was not found. You may want to get it from
***  ftp://ftp.gnutls.org/pub/gnutls/

Thanks

Attachments

filezilla-3.2.4.1-gnutls-2.7.patch Download (390 bytes) - added by Voyageur 6 years ago.

Change History

Changed 6 years ago by Voyageur

Changed 6 years ago by codesquid

  • owner set to codesquid
  • status changed from new to accepted

Problem originally reported at  http://bugs.gentoo.org/show_bug.cgi?id=268583

Changed 6 years ago by codesquid

  • status changed from accepted to closed
  • resolution set to fixed

Thanks.

I've applied a modified version that falls back to libgnutls-config if the check using pkg-config fails. I'm unable to compile pkg-config on mingw/msys.

Changed 6 years ago by Voyageur

Even better! Thanks for quick commit

Note: See TracTickets for help on using tickets.