python build issues when compiling on Fedora 14

More
10 Oct 2012 19:03 #25219 by wshackle
On a 32-bit Fedora 14 system I get errors whether I enable python support or not.

There are two versions of python available neither works and disabling python support also doesn't work.

./configure --enable-run-in-place --enable-simulator

produces

...
checking version of python libraries... python2.7
checking match between tk and Tkinter versions... Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named _tkinter
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named _tkinter
TCL mismatch: 8.5 vs
configure: error: Python requires use of Tcl and Tk .

import _tkinter seems to only work in python3 so I tried:

./configure --enable-run-in-place --enable-simulator --with-python python3

checking for Python support... yes
checking python version... /usr/bin/yes: invalid option -- 'c'
Try `/usr/bin/yes --help' for more information.
configure: error: Python version too old (2.4 or newer required)


Finally I tried
./configure --enable-run-in-place --enable-simulator --disable-python

the configure ran fine, but make failed with




Depending emc/rs274ngc/interp_find.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_execute.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_cycles.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_convert.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_check.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_array.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/interp_arc.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/rs274ngc/canonmodule.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending emc/pythonplugin/python_plugin.cc
/usr/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
Depending linuxcnc.1
make: *** No rule to make target `depends/emc/pythonplugin/python_plugin.d', needed by `Makefile'. Stop.
make: Leaving directory `/home/shackle/linuxcnc-dev/src'

Please Log in or Create an account to join the conversation.

More
10 Oct 2012 19:36 #25221 by BigJohnT
Is there some reason for trying to compile on Fedora instead of using the LiveCD to install LinuxCNC?

If you just like Fedora then continue with your fun...

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.282 seconds
Powered by Kunena Forum