From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.help Subject: problems building emacs with libgpm & gnutls on an old Debian system (Jessie) Date: Thu, 06 Aug 2020 17:05:16 +0100 Organization: On the Interweb somewhere Message-ID: <87y2mrn4jn.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24960"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:WHOahS5vKvpFrBQgnWkqdQjn4Fo= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 06 18:05:49 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3iOp-0006PD-W3 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 18:05:47 +0200 Original-Received: from localhost ([::1]:48668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3iOp-0006b8-1V for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 12:05:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3iOU-0006Zs-NU for help-gnu-emacs@gnu.org; Thu, 06 Aug 2020 12:05:26 -0400 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:55486 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3iOS-0000dR-SN for help-gnu-emacs@gnu.org; Thu, 06 Aug 2020 12:05:26 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1k3iOP-0005wi-S0 for help-gnu-emacs@gnu.org; Thu, 06 Aug 2020 18:05:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Url: http://www.ucl.ac.uk/~ucecesf/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/06 11:13:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123644 Archived-At: 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