I cannot setup virtkey-0.63.0 on Fedora20.

Asked by douguan311

Hi,
I try to setup virtkey-0.63.0 on Fedora20 (with python 2.7.5), but I get a failure.

[root@localhost virtkey-0.63.0]# ./setup.py install
running install
running build
running build_ext
building 'virtkey' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c src/python-virtkey.c -o build/temp.linux-i686-2.7/src/python-virtkey.o
In file included from src/python-virtkey.c:27:0:
src/python-virtkey.h:32:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: command 'gcc' failed with exit status 1

I'm a fresh one, Could you tell me what's wrong with it?

Thanks,
DouGuan311

Question information

Language:
English Edit question
Status:
Expired
For:
virtkey Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.