Hi Santiago,<div><br></div><div>This should probably be asked on <a href="http://answers.ros.org">answers.ros.org</a> so others can benefit.</div><div><br></div><div>The first error is "<span style>Failed to find stack for package [tf]".  At <a href="http://ros.org/wiki/tf">ros.org/wiki/tf</a> you can see that tf is in stack "geometry".  From there you can guess that you should either apt-get install ros-electric-geometry (if that works for you) or svn checkout geometry from the branch used in the electric release (if you need to build from source).  In general if you are building from source instead of using the pre-built packages you will have to do some dependency hunting.</span></div>
<div><span style><br></span></div><div><span style>Dave</span></div><div><br><div class="gmail_quote">On Thu, Feb 16, 2012 at 9:50 AM, Santiago Focke <span dir="ltr"><<a href="mailto:focke.85@gmail.com">focke.85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br><br>Im trying to instal the orocos_tolchain_ros (ROS-electric) by compiling it from source (as explained in <a href="http://www.ros.org/wiki/orocos_toolchain_ros" target="_blank">http://www.ros.org/wiki/orocos_toolchain_ros</a>), but I get the following stack-dependencies errors when ros-making the package rtt_geometry. <br clear="all">

<div><br><code><br>rosmake rtt_geometry<br>[ rosmake ] Packages requested are: ['rtt_geometry']                                                                                                                  <br>

[ rosmake ] Logging to directory/home/corbys/.ros/rosmake/rosmake_output-20120216-183853                                                                              <br>[ rosmake ] Expanded args ['rtt_geometry'] to:<br>

['rtt_tf', 'kdl_lua', 'kdl_typekit']                                                                                   <br>[ rosmake ] Checking rosdeps compliance for packages rtt_geometry.  This may take a few seconds.                                                                      <br>

Failed to find stack for package [tf]<br>Failed to load rosdep.yaml for package [tf]:Cannot locate installation of package tf: [rospack] couldn't find package [tf]. ROS_ROOT[/opt/ros/electric/ros] ROS_PACKAGE_PATH[/opt/ros/electric/stacks:/home/corbys/ECLIPSE/workspace:/home/corbys/orocos]<br>

Failed to find stack for package [orocos_kdl]<br>Failed to load rosdep.yaml for package [orocos_kdl]:Cannot locate installation of package orocos_kdl: [rospack] couldn't find package [orocos_kdl]. ROS_ROOT[/opt/ros/electric/ros] ROS_PACKAGE_PATH[/opt/ros/electric/stacks:/home/corbys/ECLIPSE/workspace:/home/corbys/orocos]<br>

[ rosmake ] rosdep check passed all system dependencies in packages                                                                                                   <br>[rosmake-0] Starting >>> kdl_typekit [ make ]                                                                                                                         <br>

[ rosmake ] All 22 linesdl_typekit: 0.1 sec ]                                                                                                [ 1 Active 0/6 Complete ]<br>{-------------------------------------------------------------------------------<br>

  mkdir -p bin<br>  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..<br>  [rosbuild] Building package kdl_typekit<br>[rosmake-1] Starting >>> rtt [ make ]                                                                                                                                 <br>

  Failed to invoke /opt/ros/electric/ros/bin/rospack deps-manifests kdl_typekit<br>  [rospack] couldn't find dependency [orocos_kdl] of [kdl_typekit]<br>  [rospack] missing dependency<br>  <br>  <br>  CMake Error at /opt/ros/electric/ros/core/rosbuild/public.cmake:129 (message):<br>

    <br>  <br>    Failed to invoke rospack to get compile flags for package 'kdl_typekit'.<br>    Look above for errors from rospack itself.  Aborting.  Please fix the<br>    broken dependency!<br>  <br>  Call Stack (most recent call first):<br>

    /opt/ros/electric/ros/core/rosbuild/public.cmake:206 (rosbuild_invoke_rospack)<br>    CMakeLists.txt:12 (rosbuild_init)<br>  <br>  <br>  -- Configuring incomplete, errors occurred!<br>-------------------------------------------------------------------------------}<br>

[ rosmake ] Output from build of package kdl_typekit written to:<br>[ rosmake ]    /home/corbys/.ros/rosmake/rosmake_output-20120216-183853/kdl_typekit/build_output.log <br>[rosmake-0] Finished <<< kdl_typekit [FAIL] [ 0.15 seconds ]                                                                                                          <br>

[rosmake-2] Starting >>> log4cpp [ make ]                                                                                                                             <br>[rosmake-2] Finished <<< log4cpp [PASS] [ 0.08 seconds ]                                                                                                              <br>

[rosmake-3] Starting >>> kdl_lua [ make ]                                                                                                                             <br>[ rosmake ] Halting due to failure in package kdl_typekit. <br>

[ rosmake ] Waiting for other threads to complete.                                                        <br>[rosmake-3] Finished <<< kdl_lua  No Makefile in package kdl_lua                                                                                                      <br>

[rosmake-2] Starting >>> rtt_tf [ make ]                                                                                                                              <br>[ rosmake ] All 22 linestt: 0.3 sec ] [ rtt_tf: 0.1 sec ]                                                                                    [ 2 Active 2/6 Complete ]<br>

{-------------------------------------------------------------------------------<br>  mkdir -p bin<br>  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..<br>  [rosbuild] Building package rtt_tf<br>

  Failed to invoke /opt/ros/electric/ros/bin/rospack deps-manifests rtt_tf<br>  [rospack] couldn't find dependency [tf] of [rtt_tf]<br>  [rospack] missing dependency<br>  <br>  <br>  CMake Error at /opt/ros/electric/ros/core/rosbuild/public.cmake:129 (message):<br>

    <br>  <br>    Failed to invoke rospack to get compile flags for package 'rtt_tf'.  Look<br>    above for errors from rospack itself.  Aborting.  Please fix the broken<br>    dependency!<br>  <br>  Call Stack (most recent call first):<br>

    /opt/ros/electric/ros/core/rosbuild/public.cmake:206 (rosbuild_invoke_rospack)<br>    CMakeLists.txt:20 (rosbuild_init)<br>  <br>  <br>  -- Configuring incomplete, errors occurred!<br>-------------------------------------------------------------------------------}<br>

[ rosmake ] Output from build of package rtt_tf written to:<br>[ rosmake ]    /home/corbys/.ros/rosmake/rosmake_output-20120216-183853/rtt_tf/build_output.log           <br>[rosmake-2] Finished <<< rtt_tf [FAIL] [ 0.16 seconds ]                                                                                                               <br>

[ rosmake ] Halting due to failure in package rtt_tf. <br>[ rosmake ] Waiting for other threads to complete.                                                             <br>[rosmake-1] Finished <<< rtt [PASS] [ 1.94 seconds ]                                                                                                                  <br>

[ rosmake ] Results:                                                                                                                                                  <br>[ rosmake ] Built 5 packages with 2 failures.                                                                                                                         <br>

[ rosmake ] Summary output to directory                                                                                                                               <br>[ rosmake ] /home/corbys/.ros/rosmake/rosmake_output-20120216-183853<br>

</code><br><br>I downloaded the kdl from <a href="http://www.orocos.org/kdl/Installation_Manual" target="_blank">http://www.orocos.org/kdl/Installation_Manual</a> and installed it, but the problem remains.<br><br>In case it is important, I'm working with Xenomai 2.6.0 (OROCOS_TARGET = xenomai), and ros-electric-ros was installed with Synaptic. Alos, the orocos-toolchain directory is in home, not in the ros-stack directory, but the ROS_PATH includes also this directory.<br>

<br>Thanks in advance.<br><br>Regards,<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">-- <br>Santiago<br>
</font></span><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>