From owner-freebsd-ports@FreeBSD.ORG Tue Feb 27 13:02:06 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35A3116A400; Tue, 27 Feb 2007 13:02:06 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id C654213C478; Tue, 27 Feb 2007 13:02:05 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.8/8.13.8) with ESMTP id l1RD24Mo058758; Tue, 27 Feb 2007 21:02:04 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.8/8.13.8/Submit) id l1RD24Dn016563; Tue, 27 Feb 2007 21:02:04 +0800 (CST) (envelope-from rafan) Date: Tue, 27 Feb 2007 21:02:04 +0800 From: Rong-En Fan To: Rong-En Fan Message-ID: <20070227130204.GO65901@svm.csie.ntu.edu.tw> References: <20070214143011.GA76316@svm.csie.ntu.edu.tw> <20070214150912.GB14230@saltmine.radix.net> <20070214153011.GN88028@svm.csie.ntu.edu.tw> <20070214153827.GA336@saltmine.radix.net> <20070226200748.GA28218@smogmonster.local> <20070226204411.GA61663@voodoo.bawue.com> <20070226211904.GA27718@saltmine.radix.net> <20070227075857.GI65901@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HSQ3hISbU3Um6hch" Content-Disposition: inline In-Reply-To: <20070227075857.GI65901@svm.csie.ntu.edu.tw> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: ports@FreeBSD.org, Xin LI , Kirill Ponomarew , Thomas Dickey , Joshua Tinnin Subject: Re: Python 2.4.4 and devel/ncurses X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 13:02:06 -0000 --HSQ3hISbU3Um6hch Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2007 at 03:58:57PM +0800, Rong-En Fan wrote: > On Mon, Feb 26, 2007 at 04:19:04PM -0500, Thomas Dickey wrote: > > On Mon, Feb 26, 2007 at 09:44:11PM +0100, Kirill Ponomarew wrote: > > > On Mon, Feb 26, 2007 at 01:07:48PM -0700, Joshua Tinnin wrote: > > > > > > It seems to me that rpath works as expected but /lib/libncurses= =2Eso.6 is > > > > > > loaded first... > > > > >=20 > > > > > There was some discussion about a year ago, which pointed out a p= roblem. > > > > > The readline package loads termcap, which could be provided by nc= urses. > > > > > You might be hitting that problem (readline, or another package). > > > > > The fix would be to ensure that "termcap" loads the same library = as > > > > > "curses". > > > >=20 > > > > Is there anything that can be done about this in the meantime? I ha= ve > > > > two 6.2-R i386 machines which are encountering this problem. > > >=20 > > > BTW, it fails also on AMD64 CURRENT from yesterday with: > >=20 > > yes - someone has to provide a patch to make the python and ncurses > > ports either work together, or ignore each other. The top-level > > setup.py appears to have all (or most) of the related information: it > > sets up a search list of library directories, walks through them to find > > the given libraries. For those who have problems with devel/ncurses and python (2.4 or 2.5). Please try this patch: http://people.freebsd.org/~rafan/python-ncurses.diff Apply it under /usr/ports/lang. It forces python to pick up ncurses (and readline) in base in instead of LOCALBASE. > > I'm not sure how (reading the earlier email) python decides to get > > libtinfo, though, since that string doesn't appear in the original > > python sources. >=20 > Hmm... there must be something wrong in devel/ncurses >=20 > /usr/local/lib/libncurses.so: > libtinfo.so.5.6 =3D> /usr/local/lib/libtinfo.so.5.6 (0x800958000) >=20 > But on a current box which has ncurses 5.6 in base. libncurses.so > does not depend on tinfo. It looks like if --with-termlib and --without-libtool, then ncurses will pick up tinfo (in configure script). Regards, Rong-En Fan --HSQ3hISbU3Um6hch Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF5CvM144QkYb9jGgRAqOKAJ4g727U5pudoG4uYCBTQufbrJfm1wCeMuqE 7jJSqH757BETuuZoir2VVs0= =1rPh -----END PGP SIGNATURE----- --HSQ3hISbU3Um6hch--