problem while compiling the hokuyo_node [closed]
Hello, I have installed ros groovy from source on armel ubuntu 12.04.Now I need the hokuyo_node.So I do as the following:
$ wstool set hokuyo_node --git https://code.ros.org/svn/ros-pkg/stacks/laser_drivers/trunk
$ rosws update hokuyo_node
$ source setup.bash
$ rosmake hokuyo_node
However,there are the following errors:
[ rosmake ] rosmake starting...
..........
[rosmake-2] Starting >>> dynamic_reconfigure [ make ]
[rosmake-2] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
No Makefile in package dynamic_reconfigure
[rosmake-2] Starting >>> driver_base [ make ]
[ rosmake ] Output from build of package driver_base written to:38/40 Complete ]
[ rosmake ] /root/.ros/rosmake/rosmake_output-20141017-142739/driver_base/build_output.log
[rosmake-2] Finished <<< driver_base [PASS] [ 46.99 seconds ] [ 3 warnings ]
[rosmake-2] Starting >>> hokuyo_node [ make ]
[ rosmake ] Last 40 lineskuyo_node: 21.4 sec ] [ 1 Active 39/40 Complete ]
{-------------------------------------------------------------------------------
-- catkin 0.5.89
CMake Warning (dev) at /root/ros_catkin_ws/install_isolated/share/ros/core/rosbuild/public.cmake:316:
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
Call Stack (most recent call first):
CMakeLists.txt:5 (rosbuild_init)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using these message generators: gencpp;genlisp;genpy
[rosbuild] Including /root/ros_catkin_ws/install_isolated/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /root/ros_catkin_ws/install_isolated/share/rospy/rosbuild/rospy.cmake
MSG: gencfg_cpp on:Hokuyo.cfg
ERROR [gendeps] 1 Finding dependencies for /root/rosbuild_ws/hokuyo_node/cfg/Hokuyo.cfg
***********************************************************************************
load_module did not return. Unable to determine dependencies for file listed above.
***********************************************************************************
Traceback (most recent call last):
File "/root/ros_catkin_ws/src/dynamic_reconfigure/cmake/gendeps", line 66, in <module>
imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1))
File "/root/rosbuild_ws/hokuyo_node/cfg/Hokuyo.cfg", line 42, in <module>
from dynamic_reconfigure.parameter_generator import *
ImportError: No module named dynamic_reconfigure.parameter_generator
CMake Error at /root/ros_catkin_ws/src/dynamic_reconfigure/cmake/cfgbuild.cmake:78 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
/root/ros_catkin_ws/src/dynamic_reconfigure/cmake/cfgbuild.cmake:99 (gencfg_cpp)
CMakeLists.txt:10 (include)
-- Configuring incomplete, errors occurred!
See also "/root/rosbuild_ws/hokuyo_node/build/CMakeFiles/CMakeOutput.log".
See also "/root/rosbuild_ws/hokuyo_node/build/CMakeFiles/CMakeError.log".
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package hokuyo_node written to:
[ rosmake ] /root/.ros/rosmake/rosmake_output-20141017-142739/hokuyo_node/build_output.log
[rosmake-2] Finished <<< hokuyo_node [FAIL] [ 21.51 seconds ]
[ rosmake ] Halting due to failure in package hokuyo_node.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 40 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /root/.ros/rosmake/rosmake_output-20141017-142739
Please help me,thank you very much.