From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: problems building emacs with libgpm & gnutls on an old Debian system (Jessie) Date: Thu, 06 Aug 2020 19:40:36 +0200 Message-ID: References: <87y2mrn4jn.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eric S Fraga Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 06 19:41:10 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 1k3jt8-00099U-NK for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 19:41:10 +0200 Original-Received: from localhost ([::1]:38166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3jt7-0007iO-PY for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 13:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3jsh-0007iE-K8 for help-gnu-emacs@gnu.org; Thu, 06 Aug 2020 13:40:43 -0400 Original-Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:40977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3jsf-0003Zk-Nt for help-gnu-emacs@gnu.org; Thu, 06 Aug 2020 13:40:43 -0400 Original-Received: by mail-wr1-x442.google.com with SMTP id r2so39712893wrs.8 for ; Thu, 06 Aug 2020 10:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=CHVR4C8GzIZchC8CFJIjidArCFAJMaCas7BHU6gVxsM=; b=IZFty1/E4QYc7PgTg2AkFTrHV6JCxmwRBHUaCgCfWRQtp9P6ugVQYsYao7IbR84O+C Hw9phqGOxtfO5mpYVabFWP9hjI0yzu0nzwPU6MpAAi7lxTalFFSgo3VucDAzKjRfwZ/Y 9tYtN9JvdO3V8aD8+fZCDcCZahkc6yMi5fyz9o/8/c2YkGeU3+7bfBcs8fVKe25kqMEE BWMqq2NJJwtvII5tU9ZVVqK+r9eesPcbIdp+djJr+MNAyES/qTTlG7/82cwM80EaQBdA haNkK77AZ3keJmqJ93CQcYLv3NEzhe4hf5lOGwGy0uc0oXMkzulOhx5xiddqD3UmNdse Icqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=CHVR4C8GzIZchC8CFJIjidArCFAJMaCas7BHU6gVxsM=; b=mBhFcNBWhjg6w7z9WXsTV+LwUTlEnXD17/OfaQRdloP4KGzTbxz+8XrN6lzrNvAL/K RrMzakphxAMABGUg+mmQBWhrQyzyoMt8ATbTzT9M5TLq6BtucbdY4FUlGuf7hO2pnRUt kxjzdozUG/QmICW/bEV1E3kTX+13HfjMTHN7FngnN1c0x5wO4C9YvjUfeDAmp0qrsCzI +1k/yFewl8+47vJHtJweEcvVAl/PKddCR+SbvAxy8Uum4XFvr6QTZCjH1j8F8yHFecxd x8w1AihKwA2YIMtTbW78tiWDi+tU24t42YaKy/XMU4OexZM2wgbKOTNluulbGjCB8o5Q cJKg== X-Gm-Message-State: AOAM532qimB+dfxRrnLr2MQ9f01Uayo5mYXSfZcbIGx846U4taYtgJxp nN+u5TIZCrY0A+jgIpnk1DzSMTID X-Google-Smtp-Source: ABdhPJwzP7ps8ztbSoVq/j0qOqwHENG93WKg6xzS2IivEqeoNa7jN1XiS/s0OoJo6+pQpQV2GwHkCA== X-Received: by 2002:a5d:56c6:: with SMTP id m6mr9181620wrw.363.1596735639350; Thu, 06 Aug 2020 10:40:39 -0700 (PDT) Original-Received: from rpluim-mac (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id c14sm7163129wrw.85.2020.08.06.10.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 10:40:38 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87y2mrn4jn.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 06 Aug 2020 17:05:16 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=rpluim@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:123645 Archived-At: >>>>> On Thu, 06 Aug 2020 17:05:16 +0100, Eric S Fraga = said: Eric> Hello, Eric> Without giving all the gory details, I am trying to build a recen= t emacs Eric> 28.x version (from git) on an old computer running Debian Jessie, Eric> i.e. Linux circa 2014-2015. Eric> I can configure and compile Emacs if I use --with-gnutls=3Difavai= lable but Eric> not having libgnutls-dev or libgmp-dev installed. This Emacs the= n runs Eric> but has problems with accessing email (gnus). I can live with th= is to Eric> some degree as it meets one of my main requirements which is for = writing Eric> prose. But it would be nice to have email on it as well. Nothing stops you from using lisp/obsolete/{tls,starttls}.el , which will wrap gnutls-cli or 'openssl s_client' for you, although it=CA=BCs not a path I'drecommend. Eric> If I install the gnutls library, this brings in libgmp and then E= macs Eric> does not build. I get error messages along the lines of: Eric> ,---- Eric> | floatfns.o: In function `Fabs': Eric> | /home/ucecesf/git/emacs/src/floatfns.c:279: undefined reference= to `mpz_sgn' Eric> | /home/ucecesf/git/emacs/src/floatfns.c:281: undefined reference= to `mpz_neg' Eric> `---- Eric> The strange thing is that mpz_sgn, for instance, is a #define in = gpm.h Eric> but is not in gmpxx.h. Both of these include files come from Eric> libgmp-dev. It could be that Emacs's configure script picks up t= he Eric> wrong one? Eric> The versions of the two packages in question are: Eric> libgmp-dev:armhf 2:6.0.0+dfsg-6 Eric> libgnutls28-dev:armhf 3.3.8-6+deb8u7=20=20=20 Eric> Am I doing something incredibly stupid (I have RTFMed but haven't= seen Eric> anything that would help)? Do I need to build those packages from Eric> source maybe?=20=20=20 I think you can configure emacs using '--without-libgmp', then it will use a builtin version of gmp. I=CA=BCm assuming that linking to libgnutls only has a runtime dependency on libgmp, not a requirement to have access to gmp headers. Maybe just uninstalling libgmp-dev but leaving libgmp installed is enough? Robert