From: Robert Pluim <rpluim@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: problems building emacs with libgpm & gnutls on an old Debian system (Jessie)
Date: Fri, 07 Aug 2020 12:49:44 +0200 [thread overview]
Message-ID: <m2bljm688n.fsf@gmail.com> (raw)
In-Reply-To: <87lfiqu5bu.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 07 Aug 2020 11:18:45 +0100")
>>>>> On Fri, 07 Aug 2020 11:18:45 +0100, Eric S Fraga <e.fraga@ucl.ac.uk> said:
Eric> On Thursday, 6 Aug 2020 at 19:40, Robert Pluim wrote:
>> I think you can configure emacs using '--without-libgmp', then it will
>> use a builtin version of gmp. Iʼm assuming that linking to libgnutls
>> only has a runtime dependency on libgmp, not a requirement to have
>> access to gmp headers.
Eric> Hi Robert,
Eric> Thank you. This worked, in the sense that Emacs compiles with GNUTLS
Eric> enabled and GMP disabled.
Good.
Eric> However, when I try to open servers in gnus, I get the following error
Eric> message for each server (whether pop, imap, or nntp):
Eric> ,----
Eric> | Decrypting /home/ucecesf/s/dotfiles/authinfo.gpg...done
Eric> | Mail source (pop :server XXX :user YYY :port 995) error (Getting random data).
Eric> | Continue? (y or n)
Eric> `----
That means 'getrandom' is failing. Do you have HAVE_GETRANDOM set in
src/config.h? If not, emacs will use the gnulib version. Itʼs entirely
possible that itʼs not working quite right on such an old
system. Looking at the code, it will try to open "/dev/random" or
"/dev/urandom".
Or the system one is failing, in which case you can try the gnulib one
by unsetting HAVE_GETRANDOM in src/config.h
Eric> I have a feeling that this is gnutls related but I am not sure. Any
Eric> pointers would again be very welcome!
Eric> I may have to consider upgrading that computer to Debian stretch... but
Eric> that would be my last resort.
I suspect that would take quite some doing.
Robert
next prev parent reply other threads:[~2020-08-07 10:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-06 16:05 problems building emacs with libgpm & gnutls on an old Debian system (Jessie) Eric S Fraga
2020-08-06 17:40 ` Robert Pluim
2020-08-07 10:18 ` Eric S Fraga
2020-08-07 10:49 ` Robert Pluim [this message]
2020-08-10 11:17 ` Eric S Fraga
2020-08-10 13:01 ` Robert Pluim
2020-08-10 14:10 ` Eric S Fraga
2020-08-10 14:21 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bljm688n.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).