Hi Martin,

Gwenhywfar verwendet das Autoconf-Makro AM_PATH_LIBGNUTLS von GnuTLS,
das es bald nicht mehr geben wird (siehe Bugreport unten). Daher muss
das Build-System etwas angepasst werden. Andreas Metzler schlägt vor,
für die GnuTLS-LIBS und -CFLAGS künftig pkg-config zu verwenden.

Im Anhang findest du einen Patch, der die benötigten Änderungen am
configure.ac beinhaltet. Falls GnuTLS nicht gefunden wird, verändert
sich durch den Patch die Fehlermeldung etwas, aber ich denke das ist okay:

---- 8>< ---------------------------
checking for LIBGNUTLS... configure: error: Package requirements
(gnutls) were not met:

No package 'gnutls' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBGNUTLS_CFLAGS
and LIBGNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
---- 8>< ---------------------------

Ich würde mich freuen, wenn der Patch ins SVN kommt und Bestandteil des
nächsten Release wird.

Schöne Grüße
  Micha

-------- Original-Nachricht --------
Betreff: Bug#529831: libgwenhywfar: FTBFS against gnutls26 >= 2.7.x
Datum: Thu, 21 May 2009 20:12:53 +0200
Von: Andreas Metzler <ametz...@downhill.at.eu.org>
An: Debian Bug Tracking System <sub...@bugs.debian.org>

Package: libgwenhywfar
Version: 3.8.1-1
Severity: important

The package's ./configure script is trying to invoke libgnutls-config
and/or libgnutls-extra-config to search for the gnutls library. Newer
version of gnutls do not ship these scripts anymore.

Please use another way to search for the gnutls library, e.g.
pkg-config or AC_LIB_HAVE_LINKFLAGS or AC_CHECK_FUNCS. For packages
that already use pkg-config to search for other libraries, pkg-config
will probably be the simplest way. Debian's gnutls packages have
shipped the necessary .pc files 0.3.5-1 (June 2006).

This is going to be a rc bug once gnutls26 2.8 is released and
uploaded to unstable. The second release candidata of 2.8 (2.7.12) is
available for testing in Debian/experimental.

cu andreas
Index: configure.ac
===================================================================
--- configure.ac	(Revision 1547)
+++ configure.ac	(Arbeitskopie)
@@ -192,7 +192,6 @@
 AC_CHECK_PROG(USE_DOT,dot,YES,NO)
 AC_CHECK_PROG(SED,sed,sed)
 
-
 ###-------------------------------------------------------------------------
 #
 # Checks for libraries.
@@ -604,12 +603,7 @@
     ;;
     
   *)
-    AM_PATH_LIBGNUTLS([], [have_gnutls="yes"], [have_gnutls="no"])
-    if test "$have_gnutls" != "yes"; then
-      AC_MSG_ERROR([
-    **** Libgnutls is required for Gwenhywfar. Please install it (including devel packages)])
-    fi
-    
+    PKG_CHECK_MODULES([LIBGNUTLS], [gnutls])
     # check for 1.6 or higher
     oldlibs="$LIBS"
     LIBS="${LIBGNUTLS_LIBS}"
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to