From: Thomas A. N. <ta...@po...> - 2000-05-03 02:13:34
|
hi, Thanks for creating this module, Harry. I ran setup.py build and setup.py install. I get this when I try any of the example scripts or even a script that says nothing but 'import ncurses.curses': Traceback (innermost last): File "curses_example.py", line 2, in ? from ncurses.curses import * # import the curses module File "/usr/lib/python1.5/site-packages/ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: keybound I then cleaned all the files made in the previous try and ran make_c.sh. No change - I got the same error message. linux 2.2.15pre3 on a power mac (linuxppc distro) ncurses 5.0 python 1.5.2-7 I've used ncurses successfully using the python module cursesmodule.1.5b2 and using the perl module Curses. Is keybound the first symbol in _curses.so? I'm wondering if the problem has nothing to do with 'keybound', but rather with importing _curses.so at all... Here's the sizes of the .so files. Do these look right? -rwxrwxr-x 1 root root 219780 May 2 18:52 _curses.so* -rwxrwxr-x 1 root root 139581 May 2 18:52 _form.so* -rwxrwxr-x 1 root root 107299 May 2 18:52 _menu.so* -rwxrwxr-x 1 root root 56810 May 2 18:52 _panel.so* thanks, Tom -- Tom Newman ta...@po... |