How to install Python.h on FreeBSD 10.3-RELEASE?

The Doctor doctor at doctor.nl2k.ab.ca
Tue Sep 20 11:37:04 EDT 2016


In article <20160920a at crcomp.net>, Don Kuenz  <g at crcomp.net> wrote:
>
>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

Which version of Python do you wish to use?
-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Time for the USA to hold a referendum on its republic and vote to dissolve!! 



More information about the Python-list mailing list