unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cannot open termcap database
@ 2009-11-26 14:11 A Soare
  2009-12-03 19:41 ` Mathias Dahl
  0 siblings, 1 reply; 25+ messages in thread
From: A Soare @ 2009-11-26 14:11 UTC (permalink / raw)
  To: emacs-devel

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?




Alin.












^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  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
  0 siblings, 1 reply; 25+ messages in thread
From: Mathias Dahl @ 2009-12-03 19:41 UTC (permalink / raw)
  To: A Soare; +Cc: emacs-devel

On Thu, Nov 26, 2009 at 3:11 PM, A Soare <alinsoar@voila.fr> 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.

/Mathias




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-03 19:41 ` Mathias Dahl
@ 2009-12-03 21:20   ` Dan Nicolaescu
  2009-12-04  1:47     ` Stefan Monnier
  0 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2009-12-03 21:20 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: A Soare, emacs-devel

Mathias Dahl <mathias.dahl@gmail.com> writes:

  > On Thu, Nov 26, 2009 at 3:11 PM, A Soare <alinsoar@voila.fr> 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.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-03 21:20   ` Dan Nicolaescu
@ 2009-12-04  1:47     ` Stefan Monnier
  2009-12-04  4:53       ` Dan Nicolaescu
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Monnier @ 2009-12-04  1:47 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: A Soare, emacs-devel, Mathias Dahl

>> > 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.


        Stefan




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04  1:47     ` Stefan Monnier
@ 2009-12-04  4:53       ` Dan Nicolaescu
  2009-12-04 14:16         ` Stefan Monnier
  0 siblings, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2009-12-04  4:53 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: A Soare, Mathias Dahl, emacs-devel

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).




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04  4:53       ` Dan Nicolaescu
@ 2009-12-04 14:16         ` Stefan Monnier
  2009-12-04 14:21           ` Miles Bader
  2009-12-04 17:17           ` Dan Nicolaescu
  0 siblings, 2 replies; 25+ messages in thread
From: Stefan Monnier @ 2009-12-04 14:16 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: A Soare, Mathias Dahl, emacs-devel

> 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).

Looks like you're right.  Maybe we should throw away src/termcap.c
altogether, or only use it if a configure flag is given.


        Stefan




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04 14:16         ` Stefan Monnier
@ 2009-12-04 14:21           ` Miles Bader
  2009-12-04 17:17           ` Dan Nicolaescu
  1 sibling, 0 replies; 25+ messages in thread
From: Miles Bader @ 2009-12-04 14:21 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: A Soare, Dan Nicolaescu, emacs-devel, Mathias Dahl

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> But at run time it tries to look for /etc/termcap which modern
>> distributions do not install (they install the terminfo database).
>
> Looks like you're right.  Maybe we should throw away src/termcap.c
> altogether, or only use it if a configure flag is given.

Of course, given modern systems, we could probably just include our own
termcap file (and a simple search path for searching for a termcap file
to use) with about 5 entries and cover 99% of uses...

-Miles

-- 
Somebody has to do something, and it's just incredibly pathetic that it
has to be us.  -- Jerry Garcia




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  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
  1 sibling, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2009-12-04 17:17 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: A Soare, emacs-devel, Mathias Dahl

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

  > > 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).
  > 
  > Looks like you're right.  Maybe we should throw away src/termcap.c
  > altogether, or only use it if a configure flag is given.

Throw it away please.  I don't think we support any platform where it
is necessary.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  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:46               ` Stefan Monnier
  0 siblings, 2 replies; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-04 19:08 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: alinsoar, mathias.dahl, monnier, emacs-devel

> Date: Fri, 4 Dec 2009 09:17:40 -0800 (PST)
> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: A Soare <alinsoar@voila.fr>, emacs-devel@gnu.org,
> 	Mathias Dahl <mathias.dahl@gmail.com>
> 
>   > Looks like you're right.  Maybe we should throw away src/termcap.c
>   > altogether, or only use it if a configure flag is given.
> 
> Throw it away please.  I don't think we support any platform where it
> is necessary.

MSDOS needs it.  I could move all the code it needs to msdos.c, if
that's what people want, but it sounds easier to leave termcap.c in
place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
no other platform will link it in.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  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
  1 sibling, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2009-12-04 19:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alinsoar, mathias.dahl, monnier, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

  > > Date: Fri, 4 Dec 2009 09:17:40 -0800 (PST)
  > > From: Dan Nicolaescu <dann@ics.uci.edu>
  > > Cc: A Soare <alinsoar@voila.fr>, emacs-devel@gnu.org,
  > > 	Mathias Dahl <mathias.dahl@gmail.com>
  > > 
  > >   > Looks like you're right.  Maybe we should throw away src/termcap.c
  > >   > altogether, or only use it if a configure flag is given.
  > > 
  > > Throw it away please.  I don't think we support any platform where it
  > > is necessary.
  > 
  > MSDOS needs it.  I could move all the code it needs to msdos.c, if
  > that's what people want, but it sounds easier to leave termcap.c in
  > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
  > no other platform will link it in.

IMHO: given that it's only used in a single platform, it should be in a
platform specific file, that will eliminate any possibility of
confusion.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04 19:24               ` Dan Nicolaescu
@ 2009-12-04 19:33                 ` Eli Zaretskii
  0 siblings, 0 replies; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-04 19:33 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: alinsoar, mathias.dahl, monnier, emacs-devel

> Date: Fri, 4 Dec 2009 11:24:15 -0800 (PST)
> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: monnier@iro.umontreal.ca, alinsoar@voila.fr, emacs-devel@gnu.org,
>         mathias.dahl@gmail.com
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>   > > Date: Fri, 4 Dec 2009 09:17:40 -0800 (PST)
>   > > From: Dan Nicolaescu <dann@ics.uci.edu>
>   > > Cc: A Soare <alinsoar@voila.fr>, emacs-devel@gnu.org,
>   > > 	Mathias Dahl <mathias.dahl@gmail.com>
>   > > 
>   > >   > Looks like you're right.  Maybe we should throw away src/termcap.c
>   > >   > altogether, or only use it if a configure flag is given.
>   > > 
>   > > Throw it away please.  I don't think we support any platform where it
>   > > is necessary.
>   > 
>   > MSDOS needs it.  I could move all the code it needs to msdos.c, if
>   > that's what people want, but it sounds easier to leave termcap.c in
>   > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
>   > no other platform will link it in.
> 
> IMHO: given that it's only used in a single platform, it should be in a
> platform specific file, that will eliminate any possibility of
> confusion.

Moving it into MSDOS_OBJ makes it platform specific.  But I will go
with any decision Stefan and Yidong make in this matter.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04 19:08             ` Eli Zaretskii
  2009-12-04 19:24               ` Dan Nicolaescu
@ 2009-12-04 19:46               ` Stefan Monnier
  2009-12-05  9:55                 ` Eli Zaretskii
  1 sibling, 1 reply; 25+ messages in thread
From: Stefan Monnier @ 2009-12-04 19:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alinsoar, mathias.dahl, Dan Nicolaescu, emacs-devel

>> > Looks like you're right.  Maybe we should throw away src/termcap.c
>> > altogether, or only use it if a configure flag is given.
>> Throw it away please.  I don't think we support any platform where it
>> is necessary.

> MSDOS needs it.  I could move all the code it needs to msdos.c, if
> that's what people want, but it sounds easier to leave termcap.c in
> place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
> no other platform will link it in.

Moving the code is not a good idea.  If it's still in use, then we may
as well keep it as is.  So we should simply change the configure script
so that it never uses it except under MSDOS, or upon some other
explicit request.


        Stefan




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-04 19:46               ` Stefan Monnier
@ 2009-12-05  9:55                 ` Eli Zaretskii
  2009-12-05 10:51                   ` Andreas Schwab
  2009-12-05 11:05                   ` Dan Nicolaescu
  0 siblings, 2 replies; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-05  9:55 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: alinsoar, mathias.dahl, dann, emacs-devel

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Dan Nicolaescu <dann@ics.uci.edu>,  alinsoar@voila.fr,  emacs-devel@gnu.org,  mathias.dahl@gmail.com
> Date: Fri, 04 Dec 2009 14:46:23 -0500
> 
> > MSDOS needs it.  I could move all the code it needs to msdos.c, if
> > that's what people want, but it sounds easier to leave termcap.c in
> > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
> > no other platform will link it in.
> 
> Moving the code is not a good idea.  If it's still in use, then we may
> as well keep it as is.  So we should simply change the configure script
> so that it never uses it except under MSDOS, or upon some other
> explicit request.

The MSDOS build does not use the configure script, it uses its own
config.bat, and relies on src/Makefile.in to mention DOS-specific
files in MSDOS_OBJ.  So if the configure script is modified to never
use termcap.c and termcap.o is added to MSDOS_OBJ, I think the effect
is what you suggest above.

Btw, maybe I'm blind, but configure checks only for termcap.h, it
never references -ltermcap or anything else that has "termcap" as a
substring.  Would removing termcap.h from the script be all that is
needed for Unix platforms to not use termcap.c?




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  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
  1 sibling, 1 reply; 25+ messages in thread
From: Andreas Schwab @ 2009-12-05 10:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alinsoar, dann, emacs-devel, Stefan Monnier, mathias.dahl

Eli Zaretskii <eliz@gnu.org> writes:

> Btw, maybe I'm blind, but configure checks only for termcap.h, it
> never references -ltermcap or anything else that has "termcap" as a
> substring.

AC_CHECK_LIB(ncurses, tparm)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-05  9:55                 ` Eli Zaretskii
  2009-12-05 10:51                   ` Andreas Schwab
@ 2009-12-05 11:05                   ` Dan Nicolaescu
  2009-12-05 12:50                     ` Eli Zaretskii
  1 sibling, 1 reply; 25+ messages in thread
From: Dan Nicolaescu @ 2009-12-05 11:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alinsoar, mathias.dahl, Stefan Monnier, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

  > > From: Stefan Monnier <monnier@iro.umontreal.ca>
  > > Cc: Dan Nicolaescu <dann@ics.uci.edu>,  alinsoar@voila.fr,  emacs-devel@gnu.org,  mathias.dahl@gmail.com
  > > Date: Fri, 04 Dec 2009 14:46:23 -0500
  > > 
  > > > MSDOS needs it.  I could move all the code it needs to msdos.c, if
  > > > that's what people want, but it sounds easier to leave termcap.c in
  > > > place and just move termcap.o to MSDOS_OBJ in src/Makefile.in.  Then
  > > > no other platform will link it in.
  > > 
  > > Moving the code is not a good idea.  If it's still in use, then we may
  > > as well keep it as is.  So we should simply change the configure script
  > > so that it never uses it except under MSDOS, or upon some other
  > > explicit request.
  > 
  > The MSDOS build does not use the configure script, it uses its own
  > config.bat, and relies on src/Makefile.in to mention DOS-specific
  > files in MSDOS_OBJ.  So if the configure script is modified to never
  > use termcap.c and termcap.o is added to MSDOS_OBJ, I think the effect
  > is what you suggest above.

termcap.o would also need to be removed from the setting of termcapobj
in src/Makefile.in

  > Btw, maybe I'm blind, but configure checks only for termcap.h, it
  > never references -ltermcap or anything else that has "termcap" as a
  > substring.  Would removing termcap.h from the script be all that is
  > needed for Unix platforms to not use termcap.c?

No, see above.
And it gets even better: termcap.h is not even used, see src/term.c and src/cm.c:

/* For now, don't try to include termcap.h.  On some systems,
   configure finds a non-standard termcap.h that the main build
   won't find.  */

#if defined HAVE_TERMCAP_H && 0
#include <termcap.h>
#else





^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-05 11:05                   ` Dan Nicolaescu
@ 2009-12-05 12:50                     ` Eli Zaretskii
  2009-12-12 10:00                       ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-05 12:50 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: alinsoar, mathias.dahl, monnier, emacs-devel

> Date: Sat, 5 Dec 2009 03:05:03 -0800 (PST)
> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, alinsoar@voila.fr,
>         emacs-devel@gnu.org, mathias.dahl@gmail.com
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>   > The MSDOS build does not use the configure script, it uses its own
>   > config.bat, and relies on src/Makefile.in to mention DOS-specific
>   > files in MSDOS_OBJ.  So if the configure script is modified to never
>   > use termcap.c and termcap.o is added to MSDOS_OBJ, I think the effect
>   > is what you suggest above.
> 
> termcap.o would also need to be removed from the setting of termcapobj
> in src/Makefile.in
> 
>   > Btw, maybe I'm blind, but configure checks only for termcap.h, it
>   > never references -ltermcap or anything else that has "termcap" as a
>   > substring.  Would removing termcap.h from the script be all that is
>   > needed for Unix platforms to not use termcap.c?
> 
> No, see above.
> And it gets even better: termcap.h is not even used, see src/term.c and src/cm.c:
> 
> /* For now, don't try to include termcap.h.  On some systems,
>    configure finds a non-standard termcap.h that the main build
>    won't find.  */
> 
> #if defined HAVE_TERMCAP_H && 0
> #include <termcap.h>
> #else

Right.  So, taking into consideration what Andreas points out, we will
need to:

  . Move termcap.o from termcapobj to MSDOS_OBJ in src/Makefile.in

  . Simplify src/Makefile.in under #ifndef LIBS_TERMCAP" in the
    !TERMINFO case (because both branches will become identical now)

  . Remove termcap.h from AC_CHECK_HEADERS in configure.in

  . Remove the above "#if 0" snippet from src/term.c and src/cm.c

Anything else I missed?




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-05 10:51                   ` Andreas Schwab
@ 2009-12-05 12:52                     ` Eli Zaretskii
  0 siblings, 0 replies; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-05 12:52 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: alinsoar, dann, emacs-devel, monnier, mathias.dahl

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  alinsoar@voila.fr,  mathias.dahl@gmail.com,  dann@ics.uci.edu,  emacs-devel@gnu.org
> Date: Sat, 05 Dec 2009 11:51:25 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Btw, maybe I'm blind, but configure checks only for termcap.h, it
> > never references -ltermcap or anything else that has "termcap" as a
> > substring.
> 
> AC_CHECK_LIB(ncurses, tparm)

Yes, thanks.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
@ 2009-12-08  8:23 A. Soare
  0 siblings, 0 replies; 25+ messages in thread
From: A. Soare @ 2009-12-08  8:23 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

I met the error with `termcap database' on Ubuntu and Debian, latest versions.


I met an identical error on Debian, in the moment when temacs started to load the .el files. The error said "Cannot load the charset iso-8859-2", or something like this.

After I installed kde, it worked, because kde installed a few hundreds of other packages.




____________________________________________________

Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers titres sur http://musiline.voila.fr







^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-05 12:50                     ` Eli Zaretskii
@ 2009-12-12 10:00                       ` Eli Zaretskii
  2009-12-12 15:55                         ` Chong Yidong
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-12 10:00 UTC (permalink / raw)
  To: monnier; +Cc: alinsoar, dann, emacs-devel, mathias.dahl

> Date: Sat, 05 Dec 2009 14:50:40 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: alinsoar@voila.fr, mathias.dahl@gmail.com, monnier@iro.umontreal.ca,
> 	emacs-devel@gnu.org
> 
> > termcap.o would also need to be removed from the setting of termcapobj
> > in src/Makefile.in
> > 
> >   > Btw, maybe I'm blind, but configure checks only for termcap.h, it
> >   > never references -ltermcap or anything else that has "termcap" as a
> >   > substring.  Would removing termcap.h from the script be all that is
> >   > needed for Unix platforms to not use termcap.c?
> > 
> > No, see above.
> > And it gets even better: termcap.h is not even used, see src/term.c and src/cm.c:
> > 
> > /* For now, don't try to include termcap.h.  On some systems,
> >    configure finds a non-standard termcap.h that the main build
> >    won't find.  */
> > 
> > #if defined HAVE_TERMCAP_H && 0
> > #include <termcap.h>
> > #else
> 
> Right.  So, taking into consideration what Andreas points out, we will
> need to:
> 
>   . Move termcap.o from termcapobj to MSDOS_OBJ in src/Makefile.in
> 
>   . Simplify src/Makefile.in under #ifndef LIBS_TERMCAP" in the
>     !TERMINFO case (because both branches will become identical now)
> 
>   . Remove termcap.h from AC_CHECK_HEADERS in configure.in
> 
>   . Remove the above "#if 0" snippet from src/term.c and src/cm.c
> 
> Anything else I missed?

No one commented.  Should I do this now, or should I wait for the
release branch to be cut?




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-12 10:00                       ` Eli Zaretskii
@ 2009-12-12 15:55                         ` Chong Yidong
  2009-12-12 16:30                           ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Chong Yidong @ 2009-12-12 15:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alinsoar, mathias.dahl, dann, monnier, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> No one commented.  Should I do this now, or should I wait for the
> release branch to be cut?

I'd prefer to wait till we branch.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-12 15:55                         ` Chong Yidong
@ 2009-12-12 16:30                           ` Eli Zaretskii
  2010-01-28  5:22                             ` Ken Hori
  2010-03-12 16:37                             ` Eli Zaretskii
  0 siblings, 2 replies; 25+ messages in thread
From: Eli Zaretskii @ 2009-12-12 16:30 UTC (permalink / raw)
  To: Chong Yidong; +Cc: alinsoar, mathias.dahl, dann, monnier, emacs-devel

> From: Chong Yidong <cyd@stupidchicken.com>
> Cc: monnier@iro.umontreal.ca, alinsoar@voila.fr, dann@ics.uci.edu,
>         emacs-devel@gnu.org, mathias.dahl@gmail.com
> Date: Sat, 12 Dec 2009 10:55:40 -0500
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > No one commented.  Should I do this now, or should I wait for the
> > release branch to be cut?
> 
> I'd prefer to wait till we branch.

Will do.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-12 16:30                           ` Eli Zaretskii
@ 2010-01-28  5:22                             ` Ken Hori
  2010-01-28  5:44                               ` Eli Zaretskii
  2010-03-12 16:37                             ` Eli Zaretskii
  1 sibling, 1 reply; 25+ messages in thread
From: Ken Hori @ 2010-01-28  5:22 UTC (permalink / raw)
  To: Eli Zaretskii
  Cc: alinsoar, Chong Yidong, emacs-devel, dann, monnier, mathias.dahl

This happens on Ubuntu Karmic (9.10) as well with Gnome2 as X.

 ... just wanted to bring this topic to attention again.

On Sat, Dec 12, 2009 at 8:30 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Chong Yidong <cyd@stupidchicken.com>
>> Cc: monnier@iro.umontreal.ca, alinsoar@voila.fr, dann@ics.uci.edu,
>>         emacs-devel@gnu.org, mathias.dahl@gmail.com
>> Date: Sat, 12 Dec 2009 10:55:40 -0500
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > No one commented.  Should I do this now, or should I wait for the
>> > release branch to be cut?
>>
>> I'd prefer to wait till we branch.
>
> Will do.
>
>
>




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2010-01-28  5:22                             ` Ken Hori
@ 2010-01-28  5:44                               ` Eli Zaretskii
  2010-01-28 19:23                                 ` Stefan Monnier
  0 siblings, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2010-01-28  5:44 UTC (permalink / raw)
  To: Ken Hori; +Cc: alinsoar, cyd, emacs-devel, dann, monnier, mathias.dahl

> Date: Wed, 27 Jan 2010 21:22:40 -0800
> From: Ken Hori <fplemma@gmail.com>
> Cc: Chong Yidong <cyd@stupidchicken.com>, alinsoar@voila.fr, mathias.dahl@gmail.com, 
> 	dann@ics.uci.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org
> 
> This happens on Ubuntu Karmic (9.10) as well with Gnome2 as X.
> 
>  ... just wanted to bring this topic to attention again.

Thanks, but there's no need: it's on my todo, waiting for the release
branch, as I said last time.




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2010-01-28  5:44                               ` Eli Zaretskii
@ 2010-01-28 19:23                                 ` Stefan Monnier
  0 siblings, 0 replies; 25+ messages in thread
From: Stefan Monnier @ 2010-01-28 19:23 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Ken Hori, alinsoar, cyd, emacs-devel, dann, mathias.dahl

> Thanks, but there's no need: it's on my todo, waiting for the release
> branch, as I said last time.

You can install it in the new "pending" branch.  That's what it's for.


        Stefan




^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: Cannot open termcap database
  2009-12-12 16:30                           ` Eli Zaretskii
  2010-01-28  5:22                             ` Ken Hori
@ 2010-03-12 16:37                             ` Eli Zaretskii
  1 sibling, 0 replies; 25+ messages in thread
From: Eli Zaretskii @ 2010-03-12 16:37 UTC (permalink / raw)
  To: cyd, alinsoar, mathias.dahl, dann, monnier; +Cc: emacs-devel

> Date: Sat, 12 Dec 2009 18:30:48 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: alinsoar@voila.fr, mathias.dahl@gmail.com, dann@ics.uci.edu,
> 	monnier@iro.umontreal.ca, emacs-devel@gnu.org
> 
> > From: Chong Yidong <cyd@stupidchicken.com>
> > Cc: monnier@iro.umontreal.ca, alinsoar@voila.fr, dann@ics.uci.edu,
> >         emacs-devel@gnu.org, mathias.dahl@gmail.com
> > Date: Sat, 12 Dec 2009 10:55:40 -0500
> > 
> > Eli Zaretskii <eliz@gnu.org> writes:
> > 
> > > No one commented.  Should I do this now, or should I wait for the
> > > release branch to be cut?
> > 
> > I'd prefer to wait till we branch.
> 
> Will do.

Done.




^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2010-03-12 16:37 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).