Orange Forum • View topic - pyconfig.h in different location

pyconfig.h in different location

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

pyconfig.h in different location

Postby Kenny » Tue Oct 31, 2006 20:37

On the system I am trying to compile orange, the pyconfig.h is in a different place than Python.h. How can I let know this?

Python.h is in /home/dock/include/python2.4/
pyconfig.h is in /home/dock/linux/include/python2.4/

Here is the error message I get:

$ python compile
NOTE: Python Qt not installed, OrangeCanvas and OrangeWidgets will not work.
You can get it at:
PyQwt not installed!
You can get it at:
Can not determine GCC version!
Orange specific data installation
running compile
Default compiler options are taken...
In file included from c2py.hpp:26,
from c2py.cpp:23:
/home/dock/include/python2.4/Python.h:8:22: pyconfig.h: No such file or directory
In file included from /home/dock/include/python2.4/Python.h:55,
from c2py.hpp:26,
from c2py.cpp:23:
/home/dock/include/python2.4/pyport.h:612:2: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
make[1]: *** [obj/c2py.o] Error 1
make: *** [all] Error 1
Compiling... this might take a while, logging into compiling.log... Compiling Orange failed... exiting!


Postby Kenny » Wed Nov 01, 2006 2:26

Fixed by adding directory to PYTHONINCLUDE in makefile.defs.

Return to Bugs