[issue12271] Python 2.7.x on IA64 running SLES 11 SP1
Holger Mickler
report at bugs.python.org
Wed May 23 14:07:59 CEST 2012
Holger Mickler <holger.mickler at tu-dresden.de> added the comment:
I just stumbled upon the same problem with Python 2.7.3 on SLES 11 SP1 amd64.
Obviously, SuSE puts the needed header file into /usr/include/ncurses/, and one can either create a symlink in /usr/include/ or apply a patch to _curses_panel.c:
--- Modules/_curses_panel.c.orig 2012-05-23 13:34:17.000000000 +0200
+++ Modules/_curses_panel.c 2012-05-23 13:34:27.000000000 +0200
@@ -14,7 +14,7 @@
#include "py_curses.h"
-#include <panel.h>
+#include <ncurses/panel.h>
static PyObject *PyCursesError;
Maybe some logic could be put into the build process to automatically handle this? Apparently, configure already knows about the different locations...
Regards,
Holger
----------
nosy: +hm
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12271>
_______________________________________
More information about the Python-bugs-list
mailing list