Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 15:58:57 +0800
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        Thomas Dickey <dickey@radix.net>
Cc:        ports@FreeBSD.org, Kirill Ponomarew <krion@voodoo.bawue.com>, Xin LI <delphij@FreeBSD.org>, Joshua Tinnin <krinklyfig@speakeasy.net>, Rong-En Fan <rafan@FreeBSD.org>
Subject:   Re: Python 2.4.4 and devel/ncurses
Message-ID:  <20070227075857.GI65901@svm.csie.ntu.edu.tw>
In-Reply-To: <20070226211904.GA27718@saltmine.radix.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--A9z/3b/E4MkkD+7G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.s=
o.6 is
> > > > > loaded first...
> > > >=20
> > > > There was some discussion about a year ago, which pointed out a pro=
blem.
> > > > The readline package loads termcap, which could be provided by ncur=
ses.
> > > > 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 have
> > > 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.
>=20
> 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.

Hmm... there must be something wrong  in devel/ncurses

/usr/local/lib/libncurses.so:
        libtinfo.so.5.6 =3D> /usr/local/lib/libtinfo.so.5.6 (0x800958000)

But on a current box which has ncurses 5.6 in base. libncurses.so
does not depend on tinfo.

I will look into it.

Regards,
Rong-En Fan

> > cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=3Dwchar_t -DTHRE=
AD_STACK_SIZE=3D0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/py=
thon24/work/Python-2.4.4/./Include -I/usr/local/include -I/usr/ports/lang/p=
ython24/work/Python-2.4.4/Include -I/usr/ports/lang/python24/work/Python-2.=
4.4 -c /usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -=
o build/temp.freebsd-7.0-CURRENT-amd64-2.4/_cursesmodule.o
> > cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=3Dwchar_=
t -DTHREAD_STACK_SIZE=3D0x20000 build/temp.freebsd-7.0-CURRENT-amd64-2.4/_c=
ursesmodule.o -L/usr/local/lib -lncurses -o build/lib.freebsd-7.0-CURRENT-a=
md64-2.4/_curses.so
> > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.5=
9183.0 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dpython24-2.4.3_3 UPGRA=
DE_PORT_VER=3D2.4.3_3 make
> > ** Fix the problem and try again.
> > ** Listing the failed packages (*:skipped / !:failed)
> >         ! lang/python24 (python24-2.4.3_3)      (new compiler error)
> > --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> >=20
> > -Kirill
>=20
> --=20
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net



--A9z/3b/E4MkkD+7G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (FreeBSD)

iD8DBQFF4+TA144QkYb9jGgRAnyOAJ4nLq60kw9XoVyhRsOqLDRkB8PznQCglvCr
gSnTKEf0lrsr7RRs9KRmJzE=
=jzzU
-----END PGP SIGNATURE-----

--A9z/3b/E4MkkD+7G--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227075857.GI65901>