Opened 11 years ago

Closed 11 years ago

Last modified 11 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

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 (1)

filezilla-3.2.4.1-gnutls-2.7.patch (390 bytes) - added by Bernard Cafarelli 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Bernard Cafarelli

comment:1 Changed 11 years ago by Tim Kosse

Owner: set to Tim Kosse
Status: newaccepted

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

comment:2 Changed 11 years ago by Tim Kosse

Resolution: fixed
Status: acceptedclosed

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.

comment:3 Changed 11 years ago by Bernard Cafarelli

Even better! Thanks for quick commit

Note: See TracTickets for help on using tickets.