Building MoveIt Dependencies: sudo scons install

asked 2021-08-16 07:34:49 -0500

Rahutam gravatar image

updated 2021-08-31 04:07:27 -0500

I am using ROS Melodic & Ubuntu 18 and have seen this familiar problem being asked on this forum, but not answered (https://github.com/ros-planning/movei...)

I'm following the same instructions (https://moveit.ros.org/install/source...) and as it's written there, evertyhing works fine until sudo scons install, where I get the following message

scons: Reading SConscript files ...
scons version: 3.0.1
python version: 2 7 17 'final' 0
Checking whether the C++ compiler works... yes
Checking whether the C compiler works... yes
Checking if C++ compiler "g++" is GCC... yes
Checking if C compiler "gcc" is GCC... yes
Checking if C compiler supports -Wno-unused-local-typedefs... yes
Checking if C compiler supports -Wno-unused-function... yes
Checking if C compiler supports -Wno-unused-private-field... no
Checking if C compiler supports -Wno-deprecated-declarations... yes
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
Checking if C compiler supports -Wno-unused-const-variable... yes
Checking if C compiler supports -fno-builtin-memcmp... yes
Checking for __thread... yes
Checking for C header file unistd.h... yes
Checking whether clock_gettime is declared... yes
Checking for C library rt... yes
Checking for C++ header file execinfo.h... yes
Checking whether backtrace is declared... yes
Checking whether backtrace_symbols is declared... yes
Checking whether backtrace_symbols_fd is declared... yes
Checking for C library pcap... no
Checking for C library wpcap... no
Checking whether timegm is declared... yes
Error: You must use --use-system-boost when building the C++ driver

and if I add --use-system-boost to get sudo scons install --use-system-boost, I get the following message:

scons: Reading SConscript files ...
scons version: 3.0.1
python version: 2 7 17 'final' 0
Checking whether the C++ compiler works... yes
Checking whether the C compiler works... yes
Checking if C++ compiler "g++" is GCC... yes
Checking if C compiler "gcc" is GCC... yes
Checking if C compiler supports -Wno-unused-local-typedefs... yes
Checking if C compiler supports -Wno-unused-function... yes
Checking if C compiler supports -Wno-unused-private-field... no
Checking if C compiler supports -Wno-deprecated-declarations... yes

Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
Checking if C compiler supports -Wno-unused-const-variable... yes
Checking if C compiler supports -fno-builtin-memcmp... yes
Checking for __thread... yes
Checking for C++ header file boost/filesystem/operations.hpp... yes
Checking for C++ library boost_thread-mt... no
Checking for C++ library boost_thread... yes
Checking for C++ library boost_filesystem-mt... no
Checking for C++ library boost_filesystem... yes
Checking for C++ library boost_program_options-mt... no
Checking for C++ library boost_program_options... yes
Checking for C++ library boost_system-mt... no
Checking for C++ library boost_system... yes
Checking for C header file unistd.h... yes
Checking whether clock_gettime is declared... yes
Checking for C library rt... yes
Checking for C++ header file execinfo.h... yes
Checking whether backtrace is declared... yes
Checking whether backtrace_symbols is declared... yes
Checking whether backtrace_symbols_fd is declared... yes
Checking for C library pcap... no
Checking for C library wpcap... no
Checking whether timegm is declared... yes
scons: done reading SConscript files.
scons: Building targets ...
scons: * Do not know how to make File target `install' (/home/matejg/mongo-cxx-driver/install).  Stop.
scons: building terminated because of errors.

Is there any ... (more)

edit retag flag offensive close merge delete