Any help here

https://github.com/LinuxCNC/linuxcnc/issues/820

I know mostly that discussion for 2.9

On 23/9/20 2:16 pm, Phill Carter wrote:
I have hit a roadblock trying to build master with python3

I have a VM created with the 2.8 Buster ISO and changed the default python to 
python3. When I try to build master I get this in the terminal in the 
./configure stage:
checking python version... OK
checking version of python libraries... python3.7m
checking match between tk and Tkinter versions... 8.6
checking location of Python header files... /usr/include/python3.7m
checking for Python headers... -I/usr/include/python3.7m
checking for Python libraries... -lcrypt -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

The only reference to boost python I can find results in the following three 
packages which are all installed:
buster:~ $ apt search libboost-python
Sorting... Done
Full Text Search... Done
libboost-python-dev/stable,now 1.67.0.1 amd64 [installed]
   Boost.Python Library development files (default version)
libboost-python1.67-dev/stable,now 1.67.0-13+deb10u1 amd64 [installed,automatic]
   Boost.Python Library development files
libboost-python1.67.0/stable,now 1.67.0-13+deb10u1 amd64 [installed,automatic]
   Boost.Python Library

I followed this procedure to check build dependencies and it passes this test:
<http://linuxcnc.org/docs/master/html/code/building-linuxcnc.html#Satisfying-Build-Dependencies
 
<http://linuxcnc.org/docs/master/html/code/building-linuxcnc.html#Satisfying-Build-Dependencies>>

Actully in the ./configure uspace stage I had to edit debian/configure lines 79 
& 80 to prevent syntax errors, from:
PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
PYTHON_VERSION_NEXT=$(python -c 'import sys; print sys.version[:2] + 
str(1+int(sys.version[2]))')
To:
PYTHON_VERSION=$(python -c 'import sys; print(sys.version[:3])')
PYTHON_VERSION_NEXT=$(python -c 'import sys;print(sys.version[:2] + 
str(1+int(sys.version[2])))')


I would appreciate it if someone could point me in the right direction.

Cheers, Phill.


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to