navinseshadri / iksemel

Automatically exported from code.google.com/p/iksemel
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Configure script searches for lifbgnutls-config, which is obsolete and does not present in modern distributions #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and extract iksemel-1.4 sources
2. ./configure
3.

What is the expected output? What do you see instead?

checking for libgnutls-config... no
checking for libgnutls - version >= 0.1.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.

What version of the product are you using? On what operating system?

OpenSUSE 11.4 RC2 x86_64
libgnutls-2.6

Please provide any additional information below.

lifbgnutls-config is obsolete and does not present in modern distributions:

http://lists.gnu.org/archive/html/help-gnutls/2009-05/msg00034.html

"** Old libgnutls.m4 and libgnutls-config scripts removed.
Please use pkg-config instead."

Original issue reported on code.google.com by tubeclea...@gmail.com on 3 Mar 2011 at 8:02

GoogleCodeExporter commented 9 years ago
You can fix this by ./configure --with-libgnutls-prefix=/usr

and make a executable script inside /usr/bin/libgnutls-config with following:

----cut-----
#!/bin/bash
pkg-config $1 gnutls
----cut-----

You might get an error about version conflict in which case you can edit script 
to if $1 == "--version" then output (version its complaining about) or i just 
skipped the version check in the configure file.

Original comment by kes...@gmail.com on 9 Mar 2011 at 6:09

GoogleCodeExporter commented 9 years ago
Thanks so much for the work around, I was having the exact same problem.  Seems 
like this wouldn't be that hard to address though...

Original comment by butter...@gmail.com on 16 May 2011 at 10:35

GoogleCodeExporter commented 9 years ago
Thank you very much. That has solved my problem !

Original comment by kerbach...@gmail.com on 24 Jul 2011 at 1:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
pkg-config returns version on options "-modversion" so any one can create 
"/usr/bin/libgnutls-config" script like:

#!/bin/bash
if [ "$1" == "--version" ]; then
pkg-config --modversion gnutls
else
pkg-config $1 gnutls
fi

Original comment by jagdeesh...@gmail.com on 21 Sep 2011 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by meduke...@gmail.com on 7 Oct 2011 at 10:06