> Emacs Cannot
> Emacs Cannot Open Termcap Database File
Emacs Cannot Open Termcap Database File
Find More Posts by prayag_pjs View Blog 05-17-2011, 07:49 AM #4 trojanfoe LQ Newbie Registered: Aug 2009 Posts: 3 Rep: Quote: Originally Posted by prayag_pjs try Code: yum -y Try 'which emacs'! If Emacs has to run without its own windows inside a terminal emulation it needs to know some properties of this terminal to move the cursor, 'split' the terminal to create I want to determine whether it is missing altogether, or is there but is inaccessible to Emacs for some reason. navigate here
Dr_P_Ross View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Dr_P_Ross 11-16-2010, 05:40 AM #3 prayag_pjs Senior Member Registered: Feb 2008 Location: You can use the terminfo utilities (tic, infotocap, toe, captoinfo, infocmp, ...) to convert the most needed terminfo entries to termcap format and store it in some private dot file, $HOME/.termcap This information is taken from the termcap file. That's no proof: a man page can exist without the binary, and viceversa.
The Emacs that comes with OS X starts up, but it is version 22, but I installed the MacPorts port of Emacs because I needed version 23. There is an easy fix for this problem: install the package libncurses5-dev which will provide the file termcap.h. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs compile emacs This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.
The time now is 07:26 PM. Since modern UNIX systems rely on TERMINFO Emacs seems to be like an elderly woman that once, before the war, used to pay in shilling and pence and guineas (in UK), And that looks up information in the terminfo database (a set of files), which may be at /usr/share/terminfo/..whatever... https://lists.gnu.org/archive/html/help-gnu-emacs/2010-12/msg02858.html Thanks Note: See TracTickets for help on using tickets.
Thanks very much in advance. What's up with that? My AccountSearchMapsYouTubePlayNewsGmailDriveCalendarGoogle+TranslatePhotosMoreShoppingWalletFinanceDocsBooksBloggerContactsHangoutsEven more from GoogleSign inHidden fieldsSearch for groups or messages FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Also, look at 'man ncurses' for details of other possible environment variables and/or key files that may be causing you problems.
If you'd like to contribute content, let us know. https://lists.debian.org/debian-user/2006/05/msg01236.html Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Last edited by Dr_P_Ross; 11-16-2010 at 05:32 AM.
Registration is quick, simple and absolutely free. http://haywirerobotics.com/emacs-cannot/emacs-cannot-open-termcap-database-file-centos.html Next by thread: Re: Cannot open termcap database file for emacs? They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. The time now is 01:26 PM.
- The path suggests a fink install.
- Here is head of my config.log $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = artist uname -m = i686 uname -r = 2.6.22-14-generic uname -s =
- Even if emacs builds, however, you're likely to run into similar problems with other ports.
- comment:4 Changed 5 years ago by [email protected]… You are correct.
- You are currently viewing LQ as a guest.
- I even tried to install xemacs but got the exact same error.
- Results 1 to 2 of 2 Thread: compile emacs from source code but can't open termcap database file Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch
- Why don't you use the one in the archive?
- Do you want to help us debug the posting issues ? < is the place to report it, thanks !
When it didn't find that, it then tried the older termcap. Try installing Build-Depends by running sudo apt-get build-dep emacs22 Adv Reply Quick Navigation Packaging and Compiling Programs Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Erik_the_Red Linux - Software 4 07-31-2005 11:21 AM emacs: Cannot open termcap database file severedhead Linux - General 0 08-20-2002 04:15 PM emacs: Cannot open termcap database file severedhead Linux - his comment is here Then when I went to run Emacs, I got the error Cannot open termcap database file.
Having a problem logging in? If I understand correctly this error occurs when emacs is compiled without ncurses, which is a dependency of emacs. Start with 'man 5 terminfo', 'man 5 term' to learn some basics -- if Ubuntu doesn't provide them, debian will have it. 'apropos termcap' and 'apropos terminfo' might give you some
At least I'm learning something.
But ncurses and ncursesw are both installed correctly as dependencies, as they should be. I installed because I was trying to install a weird program. Join Date Nov 2006 Location nanjing University of post and telecommunication Beans 58 DistroUbuntu 6.10 Edgy compile emacs from source code but can't open termcap database file emacs: Cannot open termcap Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed Skip to main content Toggle navigation The Standard Output About Archive Tags Code Feed Emacs: Cannot open termcap database file Jonas
I tried apt-get install termcap-compat but that didn't go well and the comment says that I shouldn't have to do that anyway if I employ the link workaround above. The ./configure yields a number of "failed program" warnings but seemed in general to terminate without incident BUT I see the error " termcap.h: No such file or directory". the error comes: emacs: Cannot open termcap database file And the etc/PROBLEM don't have this problem. weblink Can someone P-L-E-A-S-E point me in a direction that will help me sort out my termcap problem and get emacs up and running?
Please visit this page to clear all LQ-related cookies. Adv Reply December 3rd, 2007 #2 dholbach View Profile View Forum Posts Private Message Visit Homepage Ubuntu Member Join Date Oct 2007 Location Berlin, Germany Beans 84 Re: compile emacs Alternative, is there a way to circumvent this requirement? For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.
That said, if you didn't do a selfupdate within the last 12 hours you might try doing so and then trying to build emacs again. I'm a linux newbie and admit there's probably something obvious I just don't see.I've read the termcap is obsolete and terminfo used in conjunction with ncurses is the proper way to User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
Previous by thread: Savannah: no more Ctrl-Ins when using mouse copy Next by thread: Re: "Cannot open termcap database file" Index(es): Date Thread Register a domain and help support LQ Blogs Index(es): Date Thread help-gnu-emacs [Top][All Lists] Advanced [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: "Cannot open termcap database file" From: despen Subject: Re: "Cannot open termcap database file" Date: Sat, I downloaded Emacs from CVS and proceeded to configure, build and install it from source in that little VM of mine. This opens the possibility that emacs is not linking ncurses correctly during compilation.
Then compile Emacs again and everything should work normally with it as the default editor in your server. Comparing the emacs packages between the Apple provided and MacPorts I find that the 'termcap.src' file is present in the '/usr/share/emacs/22.1/etc' Apple installation, whereas the equivalent file is absent in the If you need to reset your password, click here. reply via email to [Prev in Thread] Current Thread [Next in Thread] "Cannot open termcap database file", kj<= Re: "Cannot open termcap database file", despen, 2010/12/19 Re: "Cannot open termcap database
I also tried ./configure --build=i386-*-freebsd but I get errors. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ lefster View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by lefster 11-16-2010, 05:20 AM #2 Dr_P_Ross Member Registered: Nov 2003 Location: Edinburgh,