[CMake] FindPackage(Ruby) on Ubuntu LTS
Chris
ruunhb at googlemail.com
Wed Oct 24 09:36:21 EDT 2012
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
More information about the CMake
mailing list