From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Cannot open termcap database Date: Thu, 3 Dec 2009 13:20:03 -0800 (PST) Message-ID: <200912032120.nB3LK3MN028567@godzilla.ics.uci.edu> References: <7dbe73ed0912031141h781e61d1l18776fb696cc4916@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259875325 29627 80.91.229.12 (3 Dec 2009 21:22:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 21:22:05 +0000 (UTC) Cc: A Soare , emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 03 22:21:58 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGJ7a-0005VT-L8 for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 22:21:54 +0100 Original-Received: from localhost ([127.0.0.1]:43254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGJ7a-000509-57 for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 16:21:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGJ7U-0004zi-8a for emacs-devel@gnu.org; Thu, 03 Dec 2009 16:21:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGJ7O-0004zC-LG for emacs-devel@gnu.org; Thu, 03 Dec 2009 16:21:46 -0500 Original-Received: from [199.232.76.173] (port=46452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGJ7O-0004z9-J1 for emacs-devel@gnu.org; Thu, 03 Dec 2009 16:21:42 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:48434) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGJ7O-0004la-5u for emacs-devel@gnu.org; Thu, 03 Dec 2009 16:21:42 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB3LK47J006467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Dec 2009 13:20:04 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB3LK3MN028567; Thu, 3 Dec 2009 13:20:03 -0800 (PST) In-Reply-To: <7dbe73ed0912031141h781e61d1l18776fb696cc4916@mail.gmail.com> (Mathias Dahl's message of "Thu, 3 Dec 2009 20:41:22 +0100") Original-Lines: 22 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB3LK47J006467 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118209 Archived-At: Mathias Dahl writes: > On Thu, Nov 26, 2009 at 3:11 PM, A Soare wrote: > > I tried to compile emacs for console, and I got the error > > > > Cannot open termcap database > > > > > > I solved the problem by installing ncurses-dev. > > > > One can introduce a check in ./configure.ac for the existence of terminfo data > > base when compiling for console and giving a suggestive error message? > > I get bitten by this each time I compile and install Emacs on a new > Ubuntu GNU/Linux machine. Each time I have to surf around to > understand what to do about it. If it is possible for "us" to fix it > it would be nice. configure could try to detect either the termcap or terminfo headers and if none are present should error out. All the systems we support nowadays that use ttys have either termcap or terminfo, so we don't lose anything.