Python 2.4.4 and devel/ncurses

Kirill Ponomarew krion at voodoo.bawue.com
Tue Feb 27 13:52:47 UTC 2007


On Tue, Feb 27, 2007 at 09:02:04PM +0800, Rong-En Fan wrote:
> 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.so.6 is
> > > > > > > loaded first...
> > > > > > 
> > > > > > There was some discussion about a year ago, which pointed out a problem.
> > > > > > The readline package loads termcap, which could be provided by ncurses.
> > > > > > You might be hitting that problem (readline, or another package).
> > > > > > The fix would be to ensure that "termcap" loads the same library as
> > > > > > "curses".
> > > > > 
> > > > > 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.
> > > > 
> > > > 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.
> 
> 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.

Now it compiles, thanks a lot.

-Kirill


More information about the freebsd-ports mailing list