From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 22:58:10 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 0152A106564A for ; Sun, 23 Oct 2011 22:58:10 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8428FC0C for ; Sun, 23 Oct 2011 22:58:09 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id p9NMw8j5007107; Sun, 23 Oct 2011 18:58:08 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id p9NMw8bF007105; Sun, 23 Oct 2011 18:58:08 -0400 (EDT) Date: Sun, 23 Oct 2011 18:58:08 -0400 From: Thomas Dickey To: "John R. Levine" Message-ID: <20111023225808.GA6341@saltmine.radix.net> References: <20111023071127.65536.qmail@joyce.lan> <4EA3C5A1.2080803@infracaninophile.co.uk> <4EA3E3E3.5030806@infracaninophile.co.uk> <44wrbv3bj9.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Cc: freebsd-questions@freebsd.org 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:58:10 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 23, 2011 at 06:03:10PM +0200, John R. Levine wrote: > >>>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 syst= em > >>>>>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. ncurses is already in the base system - with different options. See http://invisible-island.net/ncurses/tctest.html for example. > >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... >=20 > Did you try installing the ncurses port and then rebuilding emacs? For=20 > some reason the library in the ncurses port doesn't define the termcap=20 > routines, leading to the problem. Whether or not the termcap routines are provided isn't configurable. However, emacs could be confused since they're implemented on top of terminfo. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFOpJvFtIqByHxlDocRAgi9AJ4ncFuZZFmHI/HQ4psIpQ1p9+Kw6wCfXf0I TUHvxnx3etGXwYZ7EFj25II= =pe+8 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--