How to install Python.h on FreeBSD 10.3-RELEASE?
Don Kuenz
g at crcomp.net
Tue Sep 20 10:45:25 EDT 2016
It turns out that the question isn't "How to install Python.h?" The
question is "Why doesn't make find Python.h?"
------------------------------------------------------------------------
# uname -v
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
# cd /
# find . -name 'Python.h'
/usr/local/include/python2.7/Python.h
/usr/local/include/python3.4m/Python.h
------------------------------------------------------------------------
$ uname -v
FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016
# cd /
# find . -name 'Python.h'
/usr/local/include/python2.7/Python.h
/usr/local/include/python3.4m/Python.h
------------------------------------------------------------------------
Making all in src/cpython
make all-am
depbase=`echo data_arc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
In file included from data_arc.c:19:0:
data.h:22:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
*** Error code 1
------------------------------------------------------------------------
It seems that a symbolic link may be needed. Fortunately the developer
is working with me on this problem. He may know the best way to proceed.
Thank you,
--
Don Kuenz KB7RPU
Science is built up with facts, as a house is with stones. But a
collection of facts is no more a science than a heap of stones is a
house. - Poincare
More information about the Python-list
mailing list