Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4489 closed Patch (fixed)

Compile problems with >=gnutls-2.7.0

Reported by: Bernard Cafarelli Owned by: Tim Kosse
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Linux
Operating system version: Gentoo


=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


Attachments (1)

filezilla- (390 bytes ) - added by Bernard Cafarelli 14 years ago.

Download all attachments as: .zip

Change History (4)

by Bernard Cafarelli, 14 years ago

comment:1 by Tim Kosse, 14 years ago

Owner: set to Tim Kosse
Status: newaccepted

Problem originally reported at

comment:2 by Tim Kosse, 14 years ago

Resolution: fixed
Status: acceptedclosed


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.

comment:3 by Bernard Cafarelli, 14 years ago

Even better! Thanks for quick commit

Note: See TracTickets for help on using tickets.