From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 22:03:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 245AC106564A for ; Sun, 23 Oct 2011 22:03:15 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from leila.iecc.com (leila6.iecc.com [IPv6:2001:470:1f07:1126:0:4c:6569:6c61]) by mx1.freebsd.org (Postfix) with ESMTP id B90638FC13 for ; Sun, 23 Oct 2011 22:03:14 +0000 (UTC) Received: (qmail 64988 invoked from network); 23 Oct 2011 22:03:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=fddb.4ea48f21.k1110; bh=QBPWYHuKR5B8G0rUdFHyfw0eBQQRzrmCZbswETJFRU8=; b=WmC607RIi84LAngqaKD1KvPK8bIA6T2588vh+o7CAPbuiHRQ4v2diGEhPkDh+oY3yIhY4J6pUP+WBdXc7hPzSeXslBiMDk8EmT1RXfGqsEj+U/Fuy9tsyLVOIBQZxlh867SWBr+eL54icjzeIJLoP3t9IWACb4UZtMy8S1iflLI= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd 127.0.0.1) with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Oct 2011 22:02:51 -0000 Date: 23 Oct 2011 18:03:10 +0200 Message-ID: From: "John R. Levine" To: freebsd-questions@freebsd.org In-Reply-To: <44wrbv3bj9.fsf@lowell-desk.lan> References: <20111023071127.65536.qmail@joyce.lan> <4EA3C5A1.2080803@infracaninophile.co.uk> <4EA3E3E3.5030806@infracaninophile.co.uk> <44wrbv3bj9.fsf@lowell-desk.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Updating emacs fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 22:03:15 -0000 >>> On 23/10/2011 09:03, John R. Levine wrote: >>>>> checking for tparm in -lncurses... no >>>>> >>>>> but that's not correct. libncurses should certainly contain that >>>>> symbol. I get a 'yes' there on my stable/8 machine. As -lncurses is >>>>> part of your LDFLAGS ... hmmm... do you have libncurses on your system >>>>> anywhere other than in /lib ? >>>> >>>> I have the ncurses-5.9 package installed from ports. Several gnome >>>> programs depend on it: >>>> >>>> pkg_delete: package 'ncurses-5.9' is required by these other packages >>>> and may not be deinstalled: >>>> aalib-1.4.r5_6 >>>> gnome-games-2.32.1_2 >>>> guile-1.8.8 >>>> libcdio-0.82_2 >>>> libxine-1.1.19_7 >>> >>> Interesting. Can you try moving /usr/local/lib/libncurses.* and >>> /usr/local/include/ncurses.h aside temporarily and then rebuild emacs? >>> If that works, then looks like you've found a bug in the editors/emacs >>> port, which should be reported to the port's maintainer. >> >> Yup, that fixed it. I'll file a bug report. I tried rebuilding some >> of the packages that allegedly depend on the ncurses port, and they >> all seemed to work OK, so the right solution may be to deprecate the >> ncurses port or fold it into the mainline system. > > The way it's supposed to work is that emacs will depend on (and link to) > ncurses if it's installed when the emacs port is built, and to the base > system curses if not. I just did a quick test, and this was just what > did happen. So at least part of the problem is local to your system... Did you try installing the ncurses port and then rebuilding emacs? For some reason the library in the ncurses port doesn't define the termcap routines, leading to the problem. This computer has an extremely vanilla install of 8.2 with gnome. I'm having trouble figuring what I'm doing different from anyone else other than perhaps doing portupgrade more often than others do. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly