[Rock-dev] Testing needed: autoproj 1.8.2.rc5

Chris Mueller christoph.mueller at dfki.de
Mon Oct 22 14:24:12 CEST 2012


On 12.04 LTS i have some problems with the rock_ruby_library MACRO for 
some libraries with ruby1.9.3

'cmake .' returned status 1
       see 
/home/chris/repos/rimres/install/log/drivers/orogen/emi_control-build.log for 
details
       last 10 lines are:

       -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

Seems find_package(Ruby) is not working and cmake has some problems to 
locate my ruby libraries on my files though i have installed:
- ruby1.9-dev
- ruby-dev

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

$ cmake --version
cmake version 2.8.7

fyi: i'll followed the steps in the Rock-Trac: 
http://rock.opendfki.de/wiki/WikiStart/Ruby/Ruby1.9
(i have also tried it in the past and there it worked)

Has anyone an idea what might be changed in the cmake modules? Or did i 
miss a dependency and or an important step in my installation?
I have struggled yesterday some hours with that on a clean bootstrap.

I have also read that ruby1.8 support is only limited to this year. 
Could be also interesting for other peoples
who will run into this issue for the future.

I have the following ruby libraries:
$ ls /usr/lib | grep ruby
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

On 22.10.2012 10:10, Allan E. Conquest wrote:
> Am 19.10.2012 16:30, schrieb Sylvain Joyeux:
>> On 10/19/2012 03:18 PM, Sylvain Joyeux wrote:
>>> To test the bootstrapping as well, save the autoproj_bootstrap file
>>> attached
>>> to this mail and use it as your bootstrapping script.
>> Some missing information: you need to add "dev" after
>> autoproj_bootstrap, e.g.
>>
>>      autoproj_bootstrap dev git git://gitorious.org/rock/buildconf.git
>>
>> Sylvain
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
> Hi,
>
> I did a complete bootstrap with your autoproj_bootstrap file on Ubuntu
> 12.04.1 LTS 64bit. Seems to work for me.
>
> Best
>
> Allan
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev




More information about the Rock-dev mailing list