all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problems building emacs with libgpm & gnutls on an old Debian system (Jessie)
@ 2020-08-06 16:05 Eric S Fraga
  2020-08-06 17:40 ` Robert Pluim
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2020-08-06 16:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

Without giving all the gory details, I am trying to build a recent emacs
28.x version (from git) on an old computer running Debian Jessie,
i.e. Linux circa 2014-2015.

I can configure and compile Emacs if I use --with-gnutls=ifavailable but
not having libgnutls-dev or libgmp-dev installed.  This Emacs then runs
but has problems with accessing email (gnus).  I can live with this to
some degree as it meets one of my main requirements which is for writing
prose.  But it would be nice to have email on it as well.

If I install the gnutls library, this brings in libgmp and then Emacs
does not build.  I get error messages along the lines of:

,----
| floatfns.o: In function `Fabs':
| /home/ucecesf/git/emacs/src/floatfns.c:279: undefined reference to `mpz_sgn'
| /home/ucecesf/git/emacs/src/floatfns.c:281: undefined reference to `mpz_neg'
`----

The strange thing is that mpz_sgn, for instance, is a #define in gpm.h
but is not in gmpxx.h.  Both of these include files come from
libgmp-dev.  It could be that Emacs's configure script picks up the
wrong one?

The versions of the two packages in question are:

libgmp-dev:armhf        2:6.0.0+dfsg-6
libgnutls28-dev:armhf   3.3.8-6+deb8u7   

Am I doing something incredibly stupid (I have RTFMed but haven't seen
anything that would help)?  Do I need to build those packages from
source maybe?   

Thank you.
-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-10 14:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.