How to build boost from sources in Raspberry Pi?



On Thursday, September 10, 2015 6:07 PM, arto rasimus <artorasimus@yahoo.com> wrote:


I have Raspberry Pi, realtime kernel in it and machinekit 2.7-0 package. Boost version is 1.55-0.
What to check, since the machinekit does not find the boost?  (and therefore configuration script fails)

Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux

configure: error: boost::python is required to build LinuxCNC

pi@raspberrypi /machinekit/src $ dpkg -l | grep boost
ii  libboost-atomic1.55-dev:armhf          1.55.0+dfsg-3                             armhf        atomic data types, operations, and memory ordering constraints
ii  libboost-atomic1.55.0:armhf            1.55.0+dfsg-3                             armhf        atomic data types, operations, and memory ordering constraints
ii  libboost-chrono1.55-dev:armhf          1.55.0+dfsg-3                             armhf        C++ representation of time duration, time point, and clocks
ii  libboost-chrono1.55.0:armhf            1.55.0+dfsg-3                             armhf        C++ representation of time duration, time point, and clocks
ii  libboost-date-time1.55-dev:armhf       1.55.0+dfsg-3                             armhf        set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.55.0:armhf         1.55.0+dfsg-3                             armhf        set of date-time libraries based on generic programming concepts
ii  libboost-dev:armhf                     1.55.0.2                                  armhf        Boost C++ Libraries development files (default version)
ii  libboost-filesystem-dev:armhf          1.55.0.2                                  armhf        filesystem operations (portable paths, iteration over directories, etc) in C++ (default version)
ii  libboost-filesystem1.55-dev:armhf      1.55.0+dfsg-3                             armhf        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-filesystem1.55.0:armhf        1.55.0+dfsg-3                             armhf        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-program-options-dev:armhf     1.55.0.2                                  armhf        program options library for C++ (default version)
ii  libboost-program-options1.55-dev:armhf 1.55.0+dfsg-3                             armhf        program options library for C++
ii  libboost-program-options1.55.0:armhf   1.55.0+dfsg-3                             armhf        program options library for C++
ii  libboost-python-dev                    1.55.0.2                                  armhf        Boost.Python Library development files (default version)
ii  libboost-python1.55-dev                1.55.0+dfsg-3                             armhf        Boost.Python Library development files
ii  libboost-python1.55.0                  1.55.0+dfsg-3                             armhf        Boost.Python Library
ii  libboost-serialization-dev:armhf       1.55.0.2                                  armhf        serialization library for C++ (default version)
ii  libboost-serialization1.55-dev:armhf   1.55.0+dfsg-3                             armhf        serialization library for C++
ii  libboost-serialization1.55.0:armhf     1.55.0+dfsg-3                             armhf        serialization library for C++
ii  libboost-system-dev:armhf              1.55.0.2                                  armhf        Operating system (e.g. diagnostics support) library (default version)
ii  libboost-system1.55-dev:armhf          1.55.0+dfsg-3                             armhf        Operating system (e.g. diagnostics support) library
ii  libboost-system1.55.0:armhf            1.55.0+dfsg-3                             armhf        Operating system (e.g. diagnostics support) library
ii  libboost-test-dev:armhf                1.55.0.2                                  armhf        components for writing and executing test suites (default version)
ii  libboost-test1.55-dev:armhf            1.55.0+dfsg-3                             armhf        components for writing and executing test suites
ii  libboost-test1.55.0:armhf              1.55.0+dfsg-3                             armhf        components for writing and executing test suites
ii  libboost-thread-dev:armhf              1.55.0.2                                  armhf        portable C++ multi-threading (default version)
ii  libboost-thread1.55-dev:armhf          1.55.0+dfsg-3                             armhf        portable C++ multi-threading
ii  libboost-thread1.55.0:armhf            1.55.0+dfsg-3                             armhf        portable C++ multi-threading
ii  libboost1.55-dev:armhf                 1.55.0+dfsg-3