Building curses module in 1.6
Niels Diepeveen
niels at endea.demon.nl
Thu Sep 21 06:54:56 EDT 2000
insyte at petra.squad51.net schreef:
>
> >> /usr/local/lib/python1.6/lib-dynload directory is empty. I believe I
> >> should end up with 'cursesmodule.so' in there, correct?
Only if you uncommented "*shared*" in the Setup file. It looks like you
didn't.
BTW, you shouldn't do
make; make install
Use
make && make install
instead or you may miss errors reported by the first make.
> >>> import curses
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named curses
This is because the Lib/curses package is not installed. Solution: add
"curses" to LIBSUBDIRS in the Makefile. I think this is a bug.
--
Niels Diepeveen
Endea automatisering
More information about the Python-list
mailing list