CMake and Ruby1.9 for Ubuntu 12.04 LTS

Chris Müller ruunhb at googlemail.com
Sat Oct 27 12:36:05 UTC 2012


Hi,

We have some problems with the current cmake version on the Ubuntu 12.04 
LTS Distribution that can't find ruby1.9 libraries.
A simple "find_package(Ruby)" in a CMakeLists.txt throws the follow 
error (Though ruby1.9-dev is installed):

        -e:1: Use RbConfig instead of obsolete and deprecated Config.
        -e:1: Use RbConfig instead of obsolete and deprecated Config.
        -- Could NOT find Ruby (missing:  RUBY_LIBRARY) (found version
"1.9.1")
        -- Ruby library not found. Skipping Ruby parts for this package
        -- found Ruby version 1.9.3



There exists 5 commits for CMake 2.8.8 that are handling this.
See: http://www.cmake.org/pipermail/cmake/2012-October/052514.html

Testing 2.8.9 (build from sources) let my minimal example working.

I hope to reach the package maintainer for this because a bugfix in the 
ubuntu repositories would be
  the cleanest solution.

Chris




More information about the Ubuntu-devel-discuss mailing list