Actions
Bug #414
closedError when configuring for ros-rospack
Description
Hello,
I am installing ros-rospack
through robotpkg
on an Intel NUC i3 running Ubuntu 22.04.4 LTS
.
I got the following error:
===> Configuring for ros-rospack-2.5.1 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package): Could not find a package configuration file provided by "boost_program_options" (requested version 1.74.0) with any of the following names: boost_program_optionsConfig.cmake boost_program_options-config.cmake Add the installation prefix of "boost_program_options" to CMAKE_PREFIX_PATH or set "boost_program_options_DIR" to a directory containing one of the above files. If "boost_program_options" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:258 (boost_find_component) /usr/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package) CMakeLists.txt:5 (find_package) An unexpected error occured. The last 10 log lines are shown below. | See also "/home/gcorsini/tk3/openrobots/src/robotpkg/sysutils/ros-rospack/work.luffy/rospack-2.5.1/CMakeFiles/CMakeOutput.log". | or set "boost_program_options_DIR" to a directory containing one of the | above files. If "boost_program_options" provides a separate development | package or SDK, be sure it has been installed. | Call Stack (most recent call first): | /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake:258 (boost_find_component) | /usr/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package) | CMakeLists.txt:5 (find_package) | | For details or bug reports, check the complete log file in: /home/gcorsini/tk3/openrobots/src/robotpkg/sysutils/ros-rospack/work.luffy/configure.log make[2]: *** [/home/gcorsini/tk3/openrobots/src/robotpkg/mk/configure/cmake-configure.mk:101: do-configure-cmake(/home/gcorsini/tk3/openrobots/src/robotpkg/sysutils/ros-rospack/work.luffy/rospack-2.5.1)] Error 1 ERROR: ====================================================================== ERROR: 'make install' failed in sysutils/ros-rospack ERROR: ERROR: Fix the problem, then re-run 'make update' in sysutils/ros-rospack ERROR: ====================================================================== make[1]: *** [/home/gcorsini/tk3/openrobots/src/robotpkg/mk/update/update.mk:98: do-update] Error 2 ERROR: ====================================================================== ERROR: An error occured in sysutils/ros-rospack. ERROR: Fix the problem, then re-run 'make update-genom3' ERROR: ====================================================================== make: *** [/home/gcorsini/tk3/openrobots/src/robotpkg/mk/sets/sets.mk:45: set-update-genom3] Error 2 make: *** [/home/gcorsini/tk3/openrobots/src/robotpkg/mk/internal/trusted.mk:40: update-genom3] Error 2
I solved it by installing libboost-program-options-dev
with my system package manager, as reported here https://stackoverflow.com/questions/20502194/cmake-cannot-find-boost-program-options-on-debian
Is this the good approach? If so, shouldn't robopkg warn about this missing package?
In attachment, I provide you with my robotpkg.conf, if that can be of any help, as well as the log file in <prefix>/robotpkg/sysutils/ros-rospack/work.luffy/configure.log
.
Files
Updated by Anthony Mallet 7 months ago
- Status changed from Resolved to Closed
Applied in changeset robotpkg|fd541cda9e4b0ddc1e1ecfdf65aba55a5f065ebc.
Actions