From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 16:44:07 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 6F0A8106564A for ; Sun, 23 Oct 2011 16:44:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 268E98FC0C for ; Sun, 23 Oct 2011 16:44:06 +0000 (UTC) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 70E10A7026F for ; Sun, 23 Oct 2011 12:42:19 -0400 (EDT) Received: (qmail 405 invoked from network); 23 Oct 2011 16:42:18 -0000 Received: by simscan 1.4.0 ppid: 8682, pid: 30029, t: 1.3560s scanners: clamav: 0.88.2/m:52/d:10739 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Oct 2011 16:42:17 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 4AAAB2E0D9; Sun, 23 Oct 2011 12:42:05 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4703139848; Sun, 23 Oct 2011 12:42:02 -0400 (EDT) From: Lowell Gilbert To: "John R. Levine" References: <20111023071127.65536.qmail@joyce.lan> <4EA3C5A1.2080803@infracaninophile.co.uk> <4EA3E3E3.5030806@infracaninophile.co.uk> Date: Sun, 23 Oct 2011 12:42:02 -0400 In-Reply-To: (John R. Levine's message of "23 Oct 2011 17:13:35 +0200") Message-ID: <44wrbv3bj9.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Updating emacs fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 16:44:07 -0000 "John R. Levine" writes: >> 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...