Summary: | Curses interface of bittorrent doesn't work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Held <andukar> |
Component: | Current packages | Assignee: | Gentoo net-p2p team <net-p2p> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to 3.4.2-r2 to add ncurses support. |
Description
David Held
2005-02-05 17:47:19 UTC
Python and bittorrent have no dependency on curses. The bittorrent ebuild should either be configured to depend on curses, or depend on the curses use flag to install (or not) the btdownloadcurses.py script. Patch forthcoming. Created attachment 50503 [details, diff]
Patch to 3.4.2-r2 to add ncurses support.
This patch should provide for optional ncurses support in bittorrent based on
the status of the user's ncurses USE variable.
This patch makes sense and it should have the ncurses dependency, however, this is not sufficient. 20:49 drheld@bork:~ $ emerge -pv ncurses These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/ncurses-5.4-r5 -bootstrap -build -debug -doc +gpm -nocxx (-uclibc) -unicode 0 kB I've had ncurses installed all along but it still doesn't work. Can you give me an ls of the /usr/lib/python*/curses/ directory? (or inform that it does not exist). These are the python modules that should be responsible for curses, it would be good to know if they exist on your system. 11:24 drheld@bork:~ $ ls /usr/lib/python2.3/curses/ __init__.py __init__.pyo ascii.pyc has_key.py has_key.pyo panel.pyc textpad.py textpad.pyo wrapper.pyc __init__.pyc ascii.py ascii.pyo has_key.pyc panel.py panel.pyo textpad.pyc wrapper.py wrapper.pyo I managed to figure out where this problem was coming from. The file /usr/lib/python2.3/lib-dynload/_curses_panel.so was missing. In the same directory, however, the _curses.so was present. Checking my python install, I confirmed that the ncurses use flag had been present when python was emerged. 11:56 bork /var/db/pkg/dev-lang/python-2.3.4 # cat USE |grep -c ncurses 1 Re-emerging python, however, solved the problem. I'm missing _curses_panel.so, too. But in my case, re-emerging python (with +ncurses) did NOT install it. (In reply to comment #7) Alan: have you managed to get this file? if not - which version of python are you currently using? Please, reopen if problem still occur. |