[CMake] FindPackage(Ruby) on Ubuntu LTS

Chris Müller ruunhb at googlemail.com
Wed Oct 24 12:12:16 EDT 2012


Am 24.10.2012 17:58, schrieb David Cole:
> On Wed, Oct 24, 2012 at 11:57 AM, David Cole <david.cole at kitware.com> wrote:
>>
>>
>> The following 5 commits were merged to 'master' for FindRuby.cmake
>> *after* CMake 2.8.7, and probably fix the problem you're seeing. Can
>> you try with 2.8.8 or later?
I'll check that.
>>
>> Also.... if the libs reported by your find only go up to 1.9.1, but
>> ruby itself reports 1.9.3..... where is it getting it's libs from? Do
>> you perhaps need to update a dev package for ruby?
The setup for ruby seems a little messed up in the Ubuntu repositories 
(i guess its also the same for Debian). Almost all packages are only 
referenced for 1.9.1. e.g.

$ apt-cache search ruby1.9
...
ruby1.9.1 - Interpreter of object-oriented scripting language Ruby
ruby1.9.1-dev - Header files for compiling extension modules for the 
Ruby 1.9.1
ruby1.9.1-full - Ruby 1.9.1 full installation
ruby1.9.3 - Interpreter of object-oriented scripting language Ruby, 
version 1.9.3

No clear naming conventions (ruby1.8, ruby-1.9.1, ...)

Even using $ ruby1.9.1 -v   you get the version description for 1.9.3.



More information about the CMake mailing list