<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>To all who read this:</p>
<p>This ended up being a Homebrew problem. I was able to build
GnuTLS from source without Homebrew in the way, and it installed
fine.</p>
<p>If you need to make GnuTLS play nice with Homebrew, use `brew
link'. NB you need to install GnuTLS in /usr/local/Cellar to do
this - see the --prefix and --sysconfdir flags below.</p>
<blockquote>
<p>./configure --enable-guile --with-guile-site-dir=no
--disable-dependency-tracking --disable-silent-rules
--prefix=/usr/local/Cellar/gnutls/3.6.9
--sysconfdir=/usr/local/etc/gnutls
--with-default-trust-store-file=/usr/local/etc/openssl/cert.pem
--disable-heartbeat-support --with-p11-kit<br>
make<br>
make install<br>
brew link gnutls</p>
</blockquote>
<p>Cheers,<br>
Kenan<br>
</p>
<div class="moz-cite-prefix">On 24/8/19 11:37 am, Kenan Toker wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8ae7628a-9cae-c243-0298-9a2e93f20ce4@kdtsh.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p> </p>
<div class="moz-text-html" lang="x-unicode">
<p>Hi all,</p>
<p>I've been having some trouble installing GnuTLS 3.6.9 with
Guile bindings. I am running macOS 10.14.6, and have been
using the Homebrew 2.1.10 package manager to manage the GnuTLS
package. I have Guile 2.2.6 installed on my machine. I've been
using the --build-from-source flag in Homebrew so I can
specify flags for configure.<br>
</p>
<p>When running .configure, I've have Homebrew do the following:</p>
<blockquote>
<p>./configure --enable-guile
--with-guile-site-dir=/usr/local/Cellar/guile/2.2.6/share/guile/site
--disable-dependency-tracking --disable-silent-rules
--prefix=#{prefix} --sysconfdir=#{etc}
--with-default-trust-store-file=#{etc}/openssl/cert.pem
--disable-heartbeat-support --with-p11-kit</p>
</blockquote>
<p>Most of these are just the standard flags that come with the
Homebrew formula, but the first two flags I've added to have
make build bindings for Guile.</p>
<p>When configure gets to building Guile bindings, I get the
following logging output:</p>
<blockquote>
<p>checking whether building Guile bindings... yes<br>
***<br>
*** Detecting GNU Guile...<br>
<br>
checking for guile-snarf... no<br>
configure: WARNING: `guile-snarf' from Guile not found.
Guile bindings not built.</p>
</blockquote>
<p>I do have guile-snarf installed, I believe it comes with
Guile:</p>
<blockquote>
<p>$ which guile-snarf<br>
/usr/local/bin/guile-snarf</p>
</blockquote>
<p>I can see in the configure script that, around lines
62528-62618 where Guile bindings are handled, on line 62545 is
the following:</p>
<blockquote>
<p>ac_cv_path_guile_snarf="$guile_snarf" # Let the user
override the test with a path.</p>
</blockquote>
<p>I interpreted this as saying that I should try to set the
location of guile-snarf as an environment variable (i.e.
'export guile_snarf=/usr/local/bin/guile-snarf'), but I didn't
have any luck doing that.</p>
<p>Is there a way for me to tell GnuTLS configure where
guile-snarf is installed? Or is this a red-herring and I'm
missing something?</p>
<p>Thanks a lot for your help in advance,<br>
Kenan<br>
</p>
</div>
</blockquote>
</body>
</html>