On 04/21/2017 10:37 PM, Evan Foss wrote:
> On Fri, Apr 21, 2017 at 8:14 PM, Sebastian Kuzminsky <s...@highlab.com> wrote:
>> On 04/21/2017 01:15 PM, Evan Foss wrote:
>>> The basics
>>> * I am running Gentoo Linux (so it's non-debian)
>>> * Yes I have the development headers installed. Gentoo by design
>>> requires them. Attached is a file called python-boost.text which
>>> includes all the files in /usr/include/boost/python
>>> This is the package I used to install boost
>>> dev-util/boost-build-1.62.0-r1::gentoo  USE="python -examples {-test}"
>>> PYTHON_TARGETS="python2_7"
>>> * Yes I have python (the following revisions are installed 2.7.12,
>>> 3.3.5-r3, and 3.4.5). I am only trying to point it at 2.7.12
>>>
>>> This is how I am trying to configure it.
>>> ./configure  --without-libmodbus --with-realtime=uspace
>>> --with-python=/usr/bin/python2.7
>>> --prefix=/home/user1/programs/linuxcnc
>>>
>>> and the following is tail of that output
>>>
>>> hecking for xgettext tcl bug... xgettext version 0.19.7 OK
>>> checking for msgfmt... /usr/bin/msgfmt
>>> checking for --tcl support in msgfmt... yes
>>> checking for Python support... yes
>>> checking python version... OK
>>> checking version of python libraries... python2.7
>>> checking match between tk and Tkinter versions... 8.5
>>> checking location of Python header files... /usr/include/python2.7
>>> checking for Python headers... -I/usr/include/python2.7
>>> checking for Python libraries... -lpthread -ldl  -lutil
>>> checking whether the Boost::Python headers are available... yes
>>> checking for boost::python shared library...
>>> configure: error: boost::python is required to build LinuxCNC
>>>
>>> Is there some way to point configure at the location where boost is 
>>> installed?
>>
>> Hi Evan!
>>
>>  From the configure --help output:
>>
>>>   --with-boost-python     Specify the boost python shared library to use. 
>>> For
>>>                           instance, --with-boost-python=boost_python-py25.
>>>                           Defaults to boost-python. If you use this then you
>>>                           should probably set PYTHON too, to avoid using
>>>                           multiple python versions.
>>
>
> I tried adding --with-boost-python=boost_python-py27 it didn't help.
>
>> If your boost-python library is in an unusual directory you'll probably
>> have to set it with -L in LDFLAGS.
>
> I tried pointing -L at the location of the compiled library, and out
> of desperation i tried pointing it at the headers.
>
> What versions of python and boost::python are required to build linuxcnc?

LinuxCNC is fairly version-insensitive with boost-python.  It works with 
*at least* 1.48 (on Ubuntu Precise), 1.48 (Debian Wheezy), 1.55 (Debian 
Jessie), and 1.62 (Debian Stretch pre-release), and probably all the 
ones in between, and probably some more besides.

What is the full path to your libboost_python-py2.7.so?

What did you set LDFLAGS to?

What does the boost-python part of your config.log say after configure 
fails?


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to