Hio,

I have some problems with the CMake-Module findRuby.cmake with using ruby1.8 and ruby1.9 on Ubuntu 12.04 LTS (via apt).

I'm not sure, but i guess it worked some month ago and its maybe broken due to an update (or i missed some important aspect in my setup)

A simple find_package(Ruby) call in a CMakeLists.txt results in the error:
-- Could NOT find Ruby (missing:  RUBY_LIBRARY) (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chris/repos/build

$ cmake --version
cmake version 2.8.7

$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

$ ls /usr/lib | grep ruby
libqtruby4shared.so.2
libqtruby4shared.so.2.0.0
libruby1.8.so
libruby1.8.so.1.8
libruby1.8.so.1.8.7
libruby1.8-static.a
libruby-1.9.1.so
libruby-1.9.1.so.1.9
libruby-1.9.1.so.1.9.1
libruby-1.9.1-static.a
ruby

Any ideas?

Chris
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to