Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 16:19:04 -0500
From:      Thomas Dickey <dickey@radix.net>
To:        Kirill Ponomarew <krion@voodoo.bawue.com>
Cc:        ports@FreeBSD.org, Xin LI <delphij@FreeBSD.org>, Thomas Dickey <dickey@radix.net>, Joshua Tinnin <krinklyfig@speakeasy.net>, Rong-En Fan <rafan@FreeBSD.org>
Subject:   Re: Python 2.4.4 and devel/ncurses
Message-ID:  <20070226211904.GA27718@saltmine.radix.net>
In-Reply-To: <20070226204411.GA61663@voodoo.bawue.com>
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>

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

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.so.=
6 is
> > > > loaded first...
> > >=20
> > > There was some discussion about a year ago, which pointed out a probl=
em.
> > > The readline package loads termcap, which could be provided by ncurse=
s.
> > > 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:

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.

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
> cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=3Dwchar_t -DTHREAD=
_STACK_SIZE=3D0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/pyth=
on24/work/Python-2.4.4/./Include -I/usr/local/include -I/usr/ports/lang/pyt=
hon24/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/_cur=
sesmodule.o -L/usr/local/lib -lncurses -o build/lib.freebsd-7.0-CURRENT-amd=
64-2.4/_curses.so
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.591=
83.0 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dpython24-2.4.3_3 UPGRADE=
_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
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--OgqxwSJOaUobr8KG
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

iD8DBQFF407DtIqByHxlDocRAlj+AJ0cmyDEHmdPbI6rzBEnmIbsVbAr3ACffbRF
mB0QbeWivHrLMiwx7NRQeVg=
=IQib
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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