libical config error Cannot find Python.h

david at vizion2000.net david at vizion2000.net
Tue Aug 25 17:43:28 UTC 2009


On a freebsd 7.2-RELEASE-p3  amd64 compiled August 20 12.54.34 BST 

Python.h is in 
/usr/local/include/python2.6/

devel/libical build fails during configure:

checking for swig... (cached) true
checking for python2.6/Python.h usability... no
checking python2.6/Python.h presence... no
checking for python2.6/Python.h... no
configure: error: Can't find python header files
===>  Script "configure" failed unexpectedly.

In the libical/work/libical-0.43/config.log
The following lines appear to be significant

"In file included from conftest.c:81:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or
directory
configure:21819: $? = 1
configure: failed program was:
| /* confdefs.h.  */
..
..
configure:21842: result: no
configure:21846: checking python2.6/Python.h presence
.
.
.
configure:21882: result: no
configure:21917: checking for python2.6/Python.h
configure:21924: result: no
configure:21931: error: Cant find python header files

___________________

pth.h is in 

/usr/local/include/pth/pth.h

Solving this is urgent for me as a number of ports I need are dependent upon
this one. I have just completed an upgrade to p3 and am also upgrading all
the ports.



Thanks in advance 

David 



More information about the freebsd-ports mailing list