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

2016-09-20 Thread Don Kuenz

The Doctor <doc...@doctor.nl2k.ab.ca> wrote:
> In article <201609...@crcomp.net>, Don Kuenz  <g...@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
>>
>>



>>
>>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.
>
> Which version of Python do you wish to use?

It's best for me to know how to use either version. It's OK if each
version is mutually exclusive.

Thank you,

--
Don Kuenz KB7RPU

Every tool carries with it the spirit by which it has been created.
 - Heisenberg
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-09-20 Thread Don Kuenz

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 
^
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
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-09-19 Thread Don Kuenz

In article <nrp19d$18fb$6...@gallifrey.nk.ca> you wrote:
> In article <201609...@crcomp.net>, Don Kuenz  <g...@crcomp.net> wrote:
>>
>>The installed python packages are shown below. Searches lead me to
>>believe that a PTH option make play a role.
>>
>>
>>$ uname -v
>>FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
>>r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
>>
>>$ pkg info | grep python
>>py27-dnspython-1.14.0  DNS toolkit for Python
>>py27-notify-0.1.1_11   python bindings for libnotify
>>py27-telepathy-python-0.15.19_1 Python bindings for the Telepathy framework
>>python-2.7_2,2 The "meta-port" for the default version
>>of Python interpreter
>>python2-2_3The "meta-port" for version 2 of the
>>Python interpreter
>>python27-2.7.12Interpreted object-oriented programming 
>>language
>>python3-3_3The "meta-port" for version 3 of the
>>Python interpreter
>>python34-3.4.5 Interpreted object-oriented programming 
>>language
>>
>>$ cd /usr/ports/lang/python
>>$ make config
>>===> No options to configure
>>
>>---
>>
>
> Why not upgrade to 10.2 ?

A newer host is loaded with 10.3. It uses identical python packages.
It seems that FreeBSD python has been neglected for years.



$ uname -v
FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 
r...@releng1.nyi.freebsd.or
g:/usr/obj/usr/src/sys/GENERIC
$ pkg info | grep python
py27-dnspython-1.12.0  DNS toolkit for Python
py27-notify-0.1.1_11   python bindings for libnotify
py27-telepathy-python-0.15.19_1 Python bindings for the Telepathy framework
python-2.7_2,2 The "meta-port" for the default version of 
Python interpreter
python2-2_3The "meta-port" for version 2 of the Python 
interpreter
python27-2.7.12Interpreted object-oriented programming language
python3-3_3The "meta-port" for version 3 of the Python 
interpreter
python34-3.4.5 Interpreted object-oriented programming language



Thank you,

--
Don Kuenz KB7RPU

It's easier to mend neglect than to quicken love. - Saint Jerome
-- 
https://mail.python.org/mailman/listinfo/python-list


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

2016-09-16 Thread Don Kuenz

The installed python packages are shown below. Searches lead me to
believe that a PTH option make play a role.


$ uname -v
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC

$ pkg info | grep python
py27-dnspython-1.14.0  DNS toolkit for Python
py27-notify-0.1.1_11   python bindings for libnotify
py27-telepathy-python-0.15.19_1 Python bindings for the Telepathy framework
python-2.7_2,2 The "meta-port" for the default version of 
Python interpreter
python2-2_3The "meta-port" for version 2 of the Python 
interpreter
python27-2.7.12Interpreted object-oriented programming language
python3-3_3The "meta-port" for version 3 of the Python 
interpreter
python34-3.4.5 Interpreted object-oriented programming language

$ cd /usr/ports/lang/python
$ make config
===> No options to configure

-----------

Thank you,

--
Don Kuenz KB7RPU

There be triple ways to take, of the eagle or the snake,
Or the way of a man with a maid;
But the seetest way to me is a ship's upon the sea
In the heel of the Northeast Trade.
  - Kipling
-- 
https://mail.python.org/mailman/listinfo/python-list