You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Fedora 32.
I believe there aren't any packages available for the distro (particularly in the copr https://copr.fedorainfracloud.org/coprs/thofmann/ros/).
I know this is not specified in the docs but I'm trying to build the toolchain (orocos-toolchain/orocos_toolchain branch toolchain-2.9) in a clean catkin workspace.
Error log
The catkin error is:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY) (found version
"1.8.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindRuby.cmake:276 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:5 (find_package)
Previous issue
@meyerj@mjbogusz
I couldn't comment on #29 but I think it's possibly the same issue.
#13 was replaced by a new installation method based on pure CMake in #34, which does not depend on catkin. Please check the new top-level README.md for further details.
Are there any workarounds to make it work?
Some new info
I saw someone suggest installing the gems rake and hoe would solve the issue so I manually installed the dnf packages rubygem-rake and rubygem-hoe and then the error turns into:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY
RUBY_CONFIG_INCLUDE_DIR) (found version "2.7.2")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindRuby.cmake:276 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:5 (find_package)
Turns out I needed to install the development package: sudo dnf install ruby-devel (on Fedora).
The equivalent in ubuntu would be sudo apt install ruby-dev.
I'm leaving this info here for future googlers.
Setup
I'm on Fedora 32.
I believe there aren't any packages available for the distro (particularly in the copr https://copr.fedorainfracloud.org/coprs/thofmann/ros/).
I know this is not specified in the docs but I'm trying to build the toolchain (
orocos-toolchain/orocos_toolchain
branchtoolchain-2.9
) in a clean catkin workspace.Error log
The catkin error is:
Previous issue
@meyerj @mjbogusz
I couldn't comment on #29 but I think it's possibly the same issue.
Are there any workarounds to make it work?
Some new info
I saw someone suggest installing the gems
rake
andhoe
would solve the issue so I manually installed the dnf packagesrubygem-rake
andrubygem-hoe
and then the error turns into:Which at least corresponds to my ruby version:
The text was updated successfully, but these errors were encountered: