You are not logged in.
Pages: 1
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
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
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
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
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
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
i'm looking for the same patch, but the link posted by wonder is down!
maybe someone can just post the diff?
Offline
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
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
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
Pages: 1