Ruby Issues with Ubuntu 18.04
lnnx2006 opened this issue · comments
Errors << metaruby:cmake /home/fei/isir/orocos-2.9_ws/logs/metaruby/build.cmake.000.log
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY) (found version
"1.8.0")
When catkin build with Ubuntu 18.04, the above problems will be encounted. Could anybody update the packages ?
I'm surprise rosdep did not install the lua dev libs.
Did you follow the instructions from http://rtt-lwr.readthedocs.io/en/latest/install/install-16.04-kinetic.html
You can try :
sudo apt install liblua5.1-0-dev
I have no experience on 18.04 yet. Other packages might also be missing.
I think it is related with the following issue : ros/rosdistro#18302
Actually, the lua dev libs are all installed. I don't need to use
sudo apt install liblua5.1-0-dev
Thanks a lot as well!
So.. is it solved ? What was the fix exactly ?
Not yet! I tried to modified rosdep for ruby libs as indicated by the above link. The problem is remaining the same. Hope this will be solved by
I also tried to build my code using Ubuntu 18.04. Since the gazebo version is at least 9. Many APIs are changed. So it still needs to fix several problems.
@lnnx2006 Did you succeeded in installing everything on Ubuntu 18.04 ?
In the end the "lua" part of orocos is absolutely optional, and not even used in rtt_lwr
.
The following PR solved the issue:
orocos-toolchain/utilrb#42