From: Matthias R. <ra...@fs...> - 2001-07-29 03:48:05
|
Dear *, yesterday I downloaded the debianized version of pyncurses-0.3. Everytime I tried "from ncurses import curses", I got an error saying "ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: trace". After some research via "nm -D -g /usr/lib/libncurses.so", I found out that the Debian version of libncurses.so does not contain the debugging trace routines. This could also be the reason for an error I saw on the mailinglist (http://www.geocrawler.com/archives/3/2143/2000/11/0/4727576/). After commenting out extern char *_nc_tracebits(void); extern char *_tracechar(const unsigned char); extern void trace(const unsigned int); in "ncurses/_curses.i" and changing mcprint, has_key, _nc_tracebits, _tracechar, \ trace, _nc_visbuf to mcprint, has_key, _nc_visbuf in "ncurses/curses.py" the examples seem to work fine (except for menu_example.py which seems to have the same problems as mentioned by Tom Newman in "http://www.geocrawler.com/archives/3/2143/2000/5/0/3689787/".) Rebuilding the Debian-packet from source didn't work, because "debian/rules" needed the missing files "compile.sh" and "install.sh". So I had to re-debianize pyncurses. I submitted the patch to the tracker. To Radovan: I don't want to "steal" your maintainership, I just don't want to blame you for all the errors I possibly introduced. share and enjoy, matthias -- www.cgi.vim.py.latex.ps.xml.kif.zope.ftp.w3c.tunix.html.pl.cvs.webding.org <matthias rahlf> <mailto:ra...@fs...> <fachschaft mathe/physik/info> <tel: (089) 289 - 22997> |