From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nevo Newsgroups: gmane.emacs.help Subject: Re: "Cannot open termcap database file" Date: Sun, 19 Dec 2010 22:03:57 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e659fd08de96010497c3df39 X-Trace: dough.gmane.org 1292767478 11379 80.91.229.12 (19 Dec 2010 14:04:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 14:04:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: kj Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 19 15:04:31 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PUJsE-0008Cd-4P for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2010 15:04:30 +0100 Original-Received: from localhost ([127.0.0.1]:41401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUJsD-0003FI-Hy for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Dec 2010 09:04:29 -0500 Original-Received: from [140.186.70.92] (port=55301 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUJrk-0003Em-Fg for help-gnu-emacs@gnu.org; Sun, 19 Dec 2010 09:04:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUJrj-0003km-AI for help-gnu-emacs@gnu.org; Sun, 19 Dec 2010 09:04:00 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:59982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUJrj-0003k9-4B for help-gnu-emacs@gnu.org; Sun, 19 Dec 2010 09:03:59 -0500 Original-Received: by wwb17 with SMTP id 17so2163441wwb.30 for ; Sun, 19 Dec 2010 06:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3f0VxVSp8OEnEDr1un7J+trFFJboOjvyFAh+w04vD8E=; b=VXGeTGfRJszn+Dwmi4Gu9N64o0v1NIsuap9w2VjEU9ojVk6emtCdvoNTa1uUmIXe40 nWIvo72fP99J9sTvnSjlwDkCOCX/7VSEA9YSFXlh+SmZmlv0cc4G6mg69T204c0iUOP5 2RVNikTLGcgjFGb3KMuC3nvars9LivmxxSf2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=w3KmDmBU102CiuQFKX8A4qEhFvYMzPKmo6WFttKKRX6VmPp1k3R/FQBAvgp5ODhUbI uYSTIX/4YwJKtvtOo+R5GSB82g5+fT8l1+rX6/jd6ghEL9fGyiDqGLhUgEfZYAJGR9+D /WJRAXHhYC8Q/HLXHobwonaGYOc+H7HUtS+AM= Original-Received: by 10.216.191.215 with SMTP id g65mr5819864wen.16.1292767437165; Sun, 19 Dec 2010 06:03:57 -0800 (PST) Original-Received: by 10.216.154.210 with HTTP; Sun, 19 Dec 2010 06:03:57 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77677 Archived-At: --0016e659fd08de96010497c3df39 Content-Type: text/plain; charset=ISO-8859-1 Try to install libncurse-dev first via MacPort, then rebuild the Emacs23, then probably you should go without this problem. - nevo On 19 December 2010 06:20, kj wrote: > > > > The Emacs port provided by MacPorts (Emacs 23.2.1) won't start on > OS X Snow Leopard. > > The error message is: > > emacs: "Cannot open termcap database file" > > This error has already been reported to MacPorts, but there's no > activity on fixing the problem, so I want to try fix it myself. > > The first thing to figure out is where is Emacs looking for this > termcap file? I want to determine whether it is missing altogether, > or is there but is inaccessible to Emacs for some reason. > > Can someone tell me what filenames and directories to search for > this file? > > Second, supposing it is missing, where can I find a suitable termcap > database file? Alternative, is there a way to circumvent this > requirement? > > Thanks! > > ~kj > > P.S. 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. > --0016e659fd08de96010497c3df39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Try to install libncurse-dev first via MacPort, then rebuild the Emacs23, t= hen probably you should go without this problem.

- nevo<= br>
On 19 December 2010 06:20, kj <no.email@please.post> wrote:



The Emacs port provided by MacPorts (Emacs 23.2.1) won't start on
OS X Snow Leopard.

The error message is:

emacs: "Cannot open termcap database file"

This error has already been reported to MacPorts, but there's no
activity on fixing the problem, so I want to try fix it myself.

The first thing to figure out is where is Emacs looking for this
termcap file? =A0I want to determine whether it is missing altogether,
or is there but is inaccessible to Emacs for some reason.

Can someone tell me what filenames and directories to search for
this file?

Second, supposing it is missing, where can I find a suitable termcap
database file? =A0Alternative, is there a way to circumvent this
requirement?

Thanks!

~kj

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

--0016e659fd08de96010497c3df39--