Ncurses not found - embedded linux
Peter Otten
__peter__ at web.de
Fri Mar 7 02:35:39 EST 2008
blaine wrote:
>> > I hope this is trivial, and I apologize ahead of time if so. Would
>> > this perhaps be a compilation issue? Something we have to turn on in
>> > the python compile?
>>
>> Usually, you need not only the libraries but also the headers at
>> compilation time. Most probably these were missing.
>>
>> Diez
>
> Thank you for our response. Do you mean that the ncurses header
> should be in /usr/include upon compilation of python? Will python
> automatically pick up on these headers, or would I need to change
> compilation options? Thanks! -Blaine
Just rerun the ./configure script -- it should detect the presence of the
required header file automatically. If all went well you'll see "yes" three
times:
$ sudo aptitude install ncurses-dev
[...]
$ ./configure > tmp.txt
[...]
$ grep ncurses tmp.txt
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
Peter
More information about the Python-list
mailing list