You are not logged in.

#1 2009-06-26 15:09:23

Finch
Member
Registered: 2009-06-26
Posts: 1

libgnutls-config missing

I was trying today to build a package from a PKGBUILD that I've made and although all the necessary dependencies and build tools were installed I got an error saying that libgnutls-config cannot be found. Is libgnutls-config not installed together with gnutls anymore or did gnutls change?

Offline

#2 2009-06-27 12:55:56

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: libgnutls-config missing

I couldn't find libgnutls-config anywhere, neither using pacman -Ql gnutls or pkgfile libgnutls-config, so I guess it has been changed.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-06-27 13:00:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: libgnutls-config missing

libgnutils-config was deprecated in gnutls 2.8.
you need to patch the source of the application. i can give you an example to make one if you don't find.
can i ask what package do you try to compile and help you?

Last edited by wonder (2009-06-27 13:01:26)


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2009-07-07 21:12:28

diogenes
Member
Registered: 2007-04-11
Posts: 17

Re: libgnutls-config missing

I am having this same problem.  I am trying to build loudmouth from the pkgbuild without success getting the mentioned error.  I would be interested in patching the source if necessary, unless someone knows of another solution...

Offline

#5 2009-07-07 21:29:42

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: libgnutls-config missing

diogenes wrote:

I am having this same problem.  I am trying to build loudmouth from the pkgbuild without success getting the mentioned error.  I would be interested in patching the source if necessary, unless someone knows of another solution...

here you go my build http://archlinux.ro/~ioni/loudmouth.tar.gz
contains others patches but feel free to remove them and  libasyncns if you don't want them

Last edited by wonder (2009-07-07 21:30:30)


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2009-07-07 21:52:34

diogenes
Member
Registered: 2007-04-11
Posts: 17

Re: libgnutls-config missing

wonder wrote:

here you go my build http://archlinux.ro/~ioni/loudmouth.tar.gz
contains others patches but feel free to remove them and  libasyncns if you don't want them

Thanks a bunch, all in working order now.

Offline

#7 2009-08-13 22:24:47

atcq
Member
From: Germany
Registered: 2008-09-04
Posts: 28

Re: libgnutls-config missing

i'm looking for the same patch, but the link posted by wonder is down!
maybe someone can just post the diff?

Offline

#8 2009-08-14 06:41:40

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: libgnutls-config missing

atcq wrote:

i'm looking for the same patch, but the link posted by wonder is down!
maybe someone can just post the diff?

reuploaded. same link


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2009-08-14 08:35:16

atcq
Member
From: Germany
Registered: 2008-09-04
Posts: 28

Re: libgnutls-config missing

thanks, but found it myself:

diff --git a/configure.ac b/configure.ac
index 465a502..f4ce5de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,10 +172,12 @@ AC_ARG_WITH(openssl-libs,
 enable_ssl=no
 if test "x$ac_ssl" = "xgnutls"; then
   dnl Look for GnuTLS
-  AM_PATH_LM_LIBGNUTLS($GNUTLS_REQUIRED, have_libgnutls=yes, have_libgnutls=no)
-  if test "x$have_libgnutls" = "xyes"; then
-    CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
-    LIBS="$LIBS $LIBGNUTLS_LIBS"
+  PKG_CHECK_MODULES(GNUTLS, gnutls >= $GNUTLS_REQUIRED, have_gnutls=yes, have_gnutls=no)
+  if test "x$have_gnutls" = "xyes"; then
+    AC_SUBST(ASYNCNS_CFLAGS)
+    AC_SUBST(ASYNCNS_LIBS)
+    CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
+    LIBS="$LIBS $GNUTLS_LIBS"
     AC_DEFINE(HAVE_GNUTLS, 1, [whether to use GnuTSL support.])
     enable_ssl=GnuTLS
   else

source: http://groups.google.com/group/loudmout … 837048daf#

Offline

#10 2010-03-17 03:31:39

timo
Member
Registered: 2009-04-20
Posts: 2

Re: libgnutls-config missing

I'm having great difficulty installing csync2. I see it's now dropped to being unsupported and out of date, but we're still using it, I need to install it on a new server in the cluster, and I don't know of any alternative.

It's also complaining about libgnutls-config:

checking for libgnutls-config... no
checking for libgnutls - version >= 1.0.0... 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: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls

I've tried a number of different versions of csync2 and gnutls, using various sources, but no joy so far...

Offline

Board footer

Powered by FluxBB