[gnutls-devel] GnuTLS | build: detect previous supported guile (ae715f67)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Mar 8 15:33:46 CET 2019




Thanks for this fix.

I think there's [yet another] Autoconf bug in play here. With the patch applied I encounter the following when attempting to build a discardable GnuTLS for testing. It is being installed into `/var/tmp` and the directory is deleted once testing completes. The directory includes all of the GnuTLS dependencies.

```
configure: checking for guile 2.2
configure: found guile 2.2
checking for guile-2.2... no
checking for guile2.2... no
checking for guile-2... no
checking for guile2... /bin/guile2
configure: error: found development files for Guile 2.2, but /bin/guile2 has effective version 2.0
```

And:

```
$ ls /var/tmp/lib64/*guile*
/var/tmp/lib64/libguile-2.2.a   /var/tmp/lib64/libguile-2.2.so.1
/var/tmp/lib64/libguile-2.2.la  /var/tmp/lib64/libguile-2.2.so.1.3.1
/var/tmp/lib64/libguile-2.2.so  /var/tmp/lib64/libguile-2.2.so.1.3.1-gdb.scm

/var/tmp/lib64/guile:
2.2

$ /var/tmp/bin/guile --version
guile (GNU Guile) 2.2.4
Copyright (C) 2018 Free Software Foundation, Inc.
```

Finally:

```
$ cat /var/tmp/lib64/pkgconfig/guile-2.2.pc
prefix=/var/tmp
exec_prefix=/var/tmp
bindir=/var/tmp/bin
libdir=/var/tmp/lib64
includedir=/var/tmp/include
datarootdir=/var/tmp/share
datadir=/var/tmp/share
pkgdatadir=/var/tmp/share/guile
pkgincludedir=/var/tmp/include/guile

sitedir=/var/tmp/share/guile/site/2.2
extensiondir=/var/tmp/lib64/guile/2.2/extensions
siteccachedir=/var/tmp/lib64/guile/2.2/site-ccache
libguileinterface=4:1:3

# Actual name of the 'guile' and 'guild' programs.  This is
# particularly useful when '--program-transform-name' or similar has
# been used.
guild=${bindir}/guild
guile=${bindir}/guile

Name: GNU Guile
Description: GNU's Ubiquitous Intelligent Language for Extension
Version: 2.2.4
Libs: -L${libdir} -lguile-2.2 -lgc
Libs.private:  /var/tmp/lib64/libgmp.so -ldl -lpthread -Wl,-rpath -Wl,/var/tmp/lib64 -lltdl -L/var/tmp/lib64/../lib64 -lffi     \
  /var/tmp/lib64/libunistring.so /var/tmp/lib64/libiconv.so -ldl -lpthread -Wl,-rpath -Wl,/var/tmp/lib64 -L/var/tmp/lib64 -Wl,-R,/var/tmp/lib64 -Wl,--enable-new-dtags  -lcrypt -ldl -lpthread -lm /var/tmp/lib64/libiconv.so -Wl,-rpath -Wl,/var/tmp/lib64             \
                \

Cflags: -I${pkgincludedir}/2.2 -I/var/tmp/include
```

There's no reason for Autoconf to get confused.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/commit/ae715f6703f73476dbe51b1281da6f69fdad0de5#note_148650532
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190308/910b0d48/attachment.html>


More information about the Gnutls-devel mailing list