From unknown Mon Jun 23 13:11:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5735 <5735@debbugs.gnu.org> To: bug#5735 <5735@debbugs.gnu.org> Subject: Status: New curses/termcap requirement for linking Emacs, but configure check missing. Reply-To: bug#5735 <5735@debbugs.gnu.org> Date: Mon, 23 Jun 2025 20:11:25 +0000 retitle 5735 New curses/termcap requirement for linking Emacs, but configur= e check missing. reassign 5735 emacs submitter 5735 Jan Dj=C3=A4rv severity 5735 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 03:44:32 2010 Received: (at submit) by debbugs.gnu.org; 18 Mar 2010 07:44:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAPA-0005zt-2m for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:32 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAP4-0005zg-2z for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:29 -0400 Received: from lists.gnu.org ([199.232.76.165]:42241) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NsAP1-0005OJ-5T for submit@debbugs.gnu.org; Thu, 18 Mar 2010 03:44:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsAOw-0007Dd-K8 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:20 -0400 Received: from [140.186.70.92] (port=56049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsAOm-0007Cr-Lm for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsAOk-0007ug-3z for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:08 -0400 Received: from smtprelay-h12.telenor.se ([62.127.194.5]:37296) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAOj-0007uI-Mg for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2010 03:44:06 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h12.telenor.se (Postfix) with ESMTP id 19AE315788 for ; Thu, 18 Mar 2010 08:44:04 +0100 (CET) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8vAGd2oUtV4S1uPGdsb2JhbACDC4RVk0kMAQEBATctpxyCZo1VgSyBQYEhagQ X-IronPort-AV: E=Sophos;i="4.51,265,1267398000"; d="scan'208";a="52421677" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 18 Mar 2010 08:44:03 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id EDE927FA01A for ; Thu, 18 Mar 2010 08:44:02 +0100 (CET) Message-ID: <4BA1D9C2.1010902@swipnet.se> Date: Thu, 18 Mar 2010 08:44:02 +0100 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: New curses/termcap requirement for linking Emacs, but configure check missing. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) Hello. Since a couple of days ago may be a week), Emacs requires libncurses development files (or similar termcap/terminfo) to link. It didn't need that about a week ago. The symptoms are a lot of undefined symbols, see below. If this has become a new requirement, configure should look for these functions and if not found, abort with instructions to install development files for ncurses or similar. cm.o: In function `cmcostinit': /home/jhd/src/emacs/fixes/src/cm.c:160: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/cm.c:161: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/cm.c:162: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/cm.c:163: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/cm.c:164: undefined reference to `tputs' cm.o:/home/jhd/src/emacs/fixes/src/cm.c:165: more undefined references to `tputs' follow term.o: In function `term_get_fkeys_1': /home/jhd/src/emacs/fixes/src/term.c:1408: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:1421: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:1422: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:1455: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:1482: undefined reference to `tgetstr' term.o:/home/jhd/src/emacs/fixes/src/term.c:1482: more undefined references to `tgetstr' follow term.o: In function `turn_on_face': /home/jhd/src/emacs/fixes/src/term.c:1970: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/term.c:1973: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/term.c:1978: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/term.c:1982: undefined reference to `tputs' /home/jhd/src/emacs/fixes/src/term.c:1985: undefined reference to `tputs' term.o:/home/jhd/src/emacs/fixes/src/term.c:1995: more undefined references to `tputs' follow term.o: In function `init_tty': /home/jhd/src/emacs/fixes/src/term.c:3547: undefined reference to `tgetent' /home/jhd/src/emacs/fixes/src/term.c:3591: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3592: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3593: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3594: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3595: undefined reference to `tgetstr' term.o:/home/jhd/src/emacs/fixes/src/term.c:3596: more undefined references to `tgetstr' follow term.o: In function `init_tty': /home/jhd/src/emacs/fixes/src/term.c:3623: undefined reference to `tgetflag' /home/jhd/src/emacs/fixes/src/term.c:3626: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3628: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3629: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3630: undefined reference to `tgetstr' /home/jhd/src/emacs/fixes/src/term.c:3631: undefined reference to `tgetstr' term.o:/home/jhd/src/emacs/fixes/src/term.c:3632: more undefined references to `tgetstr' follow term.o: In function `init_tty': /home/jhd/src/emacs/fixes/src/term.c:3675: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3676: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3678: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3685: undefined reference to `tgetflag' /home/jhd/src/emacs/fixes/src/term.c:3688: undefined reference to `tgetflag' /home/jhd/src/emacs/fixes/src/term.c:3689: undefined reference to `tgetflag' /home/jhd/src/emacs/fixes/src/term.c:3690: undefined reference to `tgetflag' /home/jhd/src/emacs/fixes/src/term.c:3691: undefined reference to `tgetflag' term.o:/home/jhd/src/emacs/fixes/src/term.c:3692: more undefined references to `tgetflag' follow term.o: In function `init_tty': /home/jhd/src/emacs/fixes/src/term.c:3722: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3724: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3732: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3740: undefined reference to `PC' /home/jhd/src/emacs/fixes/src/term.c:3753: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3758: undefined reference to `tgetnum' /home/jhd/src/emacs/fixes/src/term.c:3775: undefined reference to `tgetstr' sysdep.o: In function `reset_sys_modes': /home/jhd/src/emacs/fixes/src/sysdep.c:1557: undefined reference to `tputs' This is a fresh Emacs from the trunk, as per 2010-03-18 and a new run of configure. Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /opt/emacs-cvs/share/emacs/24.0.50/etc/DEBUG. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) of 2010-03-18 on gaffa Windowing system distributor `The X.Org Foundation', version 11.0.10604000 configured using `configure '--prefix=/opt/emacs-cvs' '--verbose' '--enable-asserts' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Perl Minor modes in effect: desktop-save-mode: t delete-selection-mode: t icomplete-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - Recent messages: Position 20 Position 40 Position 60 Position 80 Position 100 You may type 'h' or '?' for a short PO mode reminder. Loading vc-cvs...done Wrote /home/jhd/.emacs.desktop.lock Desktop: 20 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock hashcash mail-utils emacsbug parse-time vc-cvs po-mode add-log vc-bzr sha1 hex-util vc-git perl-mode desktop cus-start cus-load msb delsel icomplete cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt time tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 04:16:39 2010 Received: (at 5735) by debbugs.gnu.org; 18 Mar 2010 08:16:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAuF-0006CA-IM for submit@debbugs.gnu.org; Thu, 18 Mar 2010 04:16:39 -0400 Received: from smtprelay-h12.telenor.se ([62.127.194.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsAuD-0006C5-IM for 5735@debbugs.gnu.org; Thu, 18 Mar 2010 04:16:38 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h12.telenor.se (Postfix) with ESMTP id BF69FD2DB for <5735@debbugs.gnu.org>; Thu, 18 Mar 2010 09:16:33 +0100 (CET) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocvALB9oUtV4S1uPGdsb2JhbACHYJNKDAEBAQE3LbdIhHgE X-IronPort-AV: E=Sophos;i="4.51,265,1267398000"; d="scan'208";a="52400058" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 18 Mar 2010 09:16:32 +0100 Received: from [192.168.77.62] (ns1.operax.com [213.88.244.216]) by coolsville.localdomain (Postfix) with ESMTPSA id 072927FA01A for <5735@debbugs.gnu.org>; Thu, 18 Mar 2010 09:16:31 +0100 (CET) Message-ID: <4BA1E15A.6070606@swipnet.se> Date: Thu, 18 Mar 2010 09:16:26 +0100 From: "Jan D." User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: 5735@debbugs.gnu.org Subject: Re: New curses/termcap requirement for linking Emacs, but configure check missing. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 5735 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) This happens on Ubuntu 9.10. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 05:24:15 2010 Received: (at 5735) by debbugs.gnu.org; 18 Mar 2010 09:24:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsBxf-0006al-6O for submit@debbugs.gnu.org; Thu, 18 Mar 2010 05:24:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsBxe-0006ag-DK for 5735@debbugs.gnu.org; Thu, 18 Mar 2010 05:24:14 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NsBxb-0008LT-3S; Thu, 18 Mar 2010 05:24:11 -0400 From: Eli Zaretskii To: Jan =?UTF-8?Q?Dj=C3=A4rv?= In-reply-to: <4BA1D9C2.1010902@swipnet.se> (message from Jan =?UTF-8?Q?Dj=C3=A4rv?= on Thu, 18 Mar 2010 08:44:02 +0100) Subject: Re: bug#5735: New curses/termcap requirement for linking Emacs, but configure check missing. References: <4BA1D9C2.1010902@swipnet.se> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Thu, 18 Mar 2010 05:24:11 -0400 X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 5735 Cc: 5735@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > Date: Thu, 18 Mar 2010 08:44:02 +0100 > From: Jan Djärv > Cc: > > Since a couple of days ago may be a week), Emacs requires libncurses > development files (or similar termcap/terminfo) to link. It didn't need that > about a week ago. I guess that's because of this change: 99649: Eli Zaretskii 2010-03-12 Don't use termcap.c on Posix platforms I'm sorry for the breakage this caused. In my defense I can only say that it "worked for me" on GNU/Linux. At the time this issue was discussed, I published the list of changes needed to stop using termcap.c on Posix platforms, based on what's been said during the discussion, see http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00276.html No one said anything else should be done. Feel free to add the missing pieces to the configury to fix this. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 07:59:53 2010 Received: (at 5735-done) by debbugs.gnu.org; 18 Mar 2010 11:59:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsEOH-00086q-E3 for submit@debbugs.gnu.org; Thu, 18 Mar 2010 07:59:53 -0400 Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsEOF-00086k-3q for 5735-done@debbugs.gnu.org; Thu, 18 Mar 2010 07:59:51 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 600A9CB1F for <5735-done@debbugs.gnu.org>; Thu, 18 Mar 2010 12:59:45 +0100 (CET) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnBBAGiyoUtV4S1uPGdsb2JhbACDC4RVk0wMAQEBATctqACQTYEsgmRpBA X-IronPort-AV: E=Sophos;i="4.51,266,1267398000"; d="scan'208";a="52564565" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 18 Mar 2010 12:59:45 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 48F467FA01A; Thu, 18 Mar 2010 12:59:44 +0100 (CET) Message-ID: <4BA215B0.6030403@swipnet.se> Date: Thu, 18 Mar 2010 12:59:44 +0100 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#5735: New curses/termcap requirement for linking Emacs, but configure check missing. References: <4BA1D9C2.1010902@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 5735-done Cc: 5735-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Eli Zaretskii skrev: >> Date: Thu, 18 Mar 2010 08:44:02 +0100 >> From: Jan Dj=C3=A4rv >> Cc:=20 >> >> Since a couple of days ago may be a week), Emacs requires libncurses >> development files (or similar termcap/terminfo) to link. It didn't ne= ed that >> about a week ago. >=20 > I guess that's because of this change: >=20 > 99649: Eli Zaretskii 2010-03-12 Don't use termcap.c on Posix platform= s >=20 > I'm sorry for the breakage this caused. In my defense I can only say > that it "worked for me" on GNU/Linux. I guess you have libncurses installed, >=20 > Feel free to add the missing pieces to the configury to fix this. Done. It now aborts if tputs isn't found in ncurses, terminfo or termcap= . Jan D. From unknown Mon Jun 23 13:11:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Apr 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator