Pyncurses on Slackware 7 with python 1.5.2

Radovan Garabik garabik at center.fmph.uniba.sk.spam
Wed May 10 12:42:07 EDT 2000


Eidd <eidd at beerninjas.org> wrote:
 : I get the following error when i run ./setup.py build for PyNcurses 0.3 on
 : Slackware 7 with python 1.5.2. gcc -c -I/usr/include/python1.5 -g -O2
 : -fpic ncurses/_curses_wrap.c -o
 : build/temp.linux2-i586/ncurses/_curses_wrap.o ncurses/_curses_wrap.c:1139:
 : conflicting types for `keyname'
 : /usr/include/curses.h:504: previous declaration of `keyname'
 : ncurses/_curses_wrap.c:1150: conflicting types for `newterm'
 : /usr/include/curses.h:638: previous declaration of `newterm'

...

 : Has anyone else experienced this error or know how to fix it . Thank you

the same on debian...
apply the patch found in debian/ directory in pyncurses tarball, and
try again

-- 
 -----------------------------------------------------------
| Radovan Garabik  http://melkor.dnp.fmph.uniba.sk/~garabik |
| __..--^^^--..__         garabik @ fmph . uniba . sk       |
 -----------------------------------------------------------



More information about the Python-list mailing list