Hi all,
I'm encountering the following error when I run rosmake in package
utilrb (http://www.ros.org/wiki/utilrb), which is part of the
orocos_toolchain stack (http://www.ros.org/wiki/orocos_toolchain):
rake --trace
rake aborted!
cannot load such file -- utilrb_ext
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/lab/ros_workspace/orocos_toolchain/utilrb/lib/utilrb/common.rb:14:in
`<module:Utilrb>'
/home/lab/ros_workspace/orocos_toolchain/utilrb/lib/utilrb/common.rb:1:in
`<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/lab/ros_workspace/orocos_toolchain/utilrb/Rakefile:2:in `<top
(required)>'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in
`load'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in
`load_rakefile'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:495:in
`raw_load_rakefile'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:78:in
`block in load_rakefile'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:129:in
`standard_exception_handling'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:77:in
`load_rakefile'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:61:in
`block in run'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:129:in
`standard_exception_handling'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/lib/rake/application.rb:59:in
`run'
/home/lab/ros_workspace/orocos_toolchain/.gems/gems/rake-0.9.2/bin/rake:32:in
`<top (required)>'
/home/lab/ros_workspace/orocos_toolchain/.gems/bin/rake:19:in `load'
/home/lab/ros_workspace/orocos_toolchain/.gems/bin/rake:19:in `<main>'
I'm Using Ubuntu Linux 12.04 (32-bit), ROS Fuerte, ruby 1.9.3p0, and
the version of orocos_toolchain available on git
(http://gitorious.org/orocos-toolchain). Does anybody know how to fix
this problem or what is causing it?
I'm getting the same error when I try to compile the
rtt_ros_integration stack
(http://www.ros.org/wiki/rtt_ros_integration).
Thanks for any help!
Liang
utilrb_ext error when compiling utilrb package
On Fri, Sep 14, 2012 at 10:20 PM, Chien-Liang Fok <liangfok [..] ...> wrote:
> Hi all,
>
> I'm encountering the following error when I run rosmake in package
> utilrb (http://www.ros.org/wiki/utilrb), which is part of the
> orocos_toolchain stack (http://www.ros.org/wiki/orocos_toolchain):
>
> rake --trace
> rake aborted!
> cannot load such file -- utilrb_ext
Probably you didn't source 'env.sh' before calling rake or rosmake.
You can check this by looking at your $RUBYLIB environment variable:
$ echo $RUBYLIB
/home/user/ros/electric/orocos_toolchain/utilrb/lib:/home/...etc
Where utilrb/lib is the directory that contains utilrb_ext.
See these instructions:
http://www.ros.org/wiki/orocos_toolchain
Peter