all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: A Soare <alinsoar@voila.fr>,
	Mathias Dahl <mathias.dahl@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Cannot open termcap database
Date: Thu, 3 Dec 2009 20:53:58 -0800 (PST)	[thread overview]
Message-ID: <200912040453.nB44rwPp002343@godzilla.ics.uci.edu> (raw)
In-Reply-To: <jwv8wdjy0it.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 03 Dec 2009 20:47:46 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

  > >> > 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.
  > 
  > I think the problem isn't so much the C headers, as the database.
  > For some reason, some distribution seem to have a tendency to install
  > some packages that provide the termcap header files without having the
  > termcap database installed, so compilation works fine, but it fails at
  > run-time.

The problem is different.  
If both termcap and terminfo headers are missing emacs uses
src/termcap.c files.  
But at run time it tries to look for /etc/termcap which modern
distributions do not install (they install the terminfo database).




  reply	other threads:[~2009-12-04  4:53 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 14:11 Cannot open termcap database A Soare
2009-12-03 19:41 ` Mathias Dahl
2009-12-03 21:20   ` Dan Nicolaescu
2009-12-04  1:47     ` Stefan Monnier
2009-12-04  4:53       ` Dan Nicolaescu [this message]
2009-12-04 14:16         ` Stefan Monnier
2009-12-04 14:21           ` Miles Bader
2009-12-04 17:17           ` Dan Nicolaescu
2009-12-04 19:08             ` Eli Zaretskii
2009-12-04 19:24               ` Dan Nicolaescu
2009-12-04 19:33                 ` Eli Zaretskii
2009-12-04 19:46               ` Stefan Monnier
2009-12-05  9:55                 ` Eli Zaretskii
2009-12-05 10:51                   ` Andreas Schwab
2009-12-05 12:52                     ` Eli Zaretskii
2009-12-05 11:05                   ` Dan Nicolaescu
2009-12-05 12:50                     ` Eli Zaretskii
2009-12-12 10:00                       ` Eli Zaretskii
2009-12-12 15:55                         ` Chong Yidong
2009-12-12 16:30                           ` Eli Zaretskii
2010-01-28  5:22                             ` Ken Hori
2010-01-28  5:44                               ` Eli Zaretskii
2010-01-28 19:23                                 ` Stefan Monnier
2010-03-12 16:37                             ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2009-12-08  8:23 A. Soare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912040453.nB44rwPp002343@godzilla.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.