2012/11/23 Sasikanth Eda <[email protected]>

> [linux@localhost disutils_example]$ pypy setup.py build
> running build
> running build_ext
> building 'demo' extension
> cc -fPIC -Wimplicit -I/usr/lib64/pypy-1.9/include -c demo.c -o
> build/temp.linux-x86_64-2.7/demo.o
> demo.c:1:20: fatal error: Python.h: No such file or directory
> compilation terminated.
> error: command 'cc' failed with exit status 1
>
> where as python-devel package which contains these header files is
> installed.
>

PyPy does not use python-devel. The "Python.h" header provide the same
interface, but with important differences in the implementation.
There should be a "pypy-devel" package that you should install as well.

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to