building ROS on arch linux
Greetings! I'm trying to build ros on arch linux. I followed this instruction ros.org/wiki/fuerte/Installation/Arch with some trouble along:
1)
patch -p0 < ros.patch
patching file simulator_gazebo/gazebo/Makefile.gazebo.tarball
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file
simulator_gazebo/gazebo/Makefile.gazebo.tarball.rej
patching file geometry/tf/include/tf/message_filter.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
This error was repeated for all entries in the patch file.
2) At the final step of
rosmake -a
the making started, but so far I encountered following errors:
[ 25%] Building CXX object CMakeFiles/camera_calibration_parsers.dir/src/parse_yml.o
/home/aash29/ros/image_common/camera_calibration_parsers/src/parse_yml.cpp:3:27: fatal error: yaml-cpp/yaml.h: No such file or directory
compilation terminated.
And in another package
[100%] Building CXX object CMakeFiles/cv_bridge.dir/src/cv_bridge.o
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp: In function ‘std::map<std::pair<cv_bridge::format, cv_bridge::format="">, std::vector<int> > cv_bridge::getConversionCodes()’:
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp:179:47: error: ‘CV_YUV2GRAY_UYVY’ was not declared in this scope
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp:180:46: error: ‘CV_YUV2RGB_UYVY’ was not declared in this scope
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp:181:46: error: ‘CV_YUV2BGR_UYVY’ was not declared in this scope
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp:182:47: error: ‘CV_YUV2RGBA_UYVY’ was not declared in this scope
/home/aash29/ros/vision_opencv/cv_bridge/src/cv_bridge.cpp:183:47: error: ‘CV_YUV2BGRA_UYVY’ was not declared in this scope
make[3]: * [CMakeFiles/cv_bridge.dir/src/cv_bridge.o] Error 1
make[3]: Leaving directory `/home/aash29/ros/vision_opencv/cv_bridge/build'
make[2]: * [CMakeFiles/cv_bridge.dir/all] Error 2
What could cause it? Is it any easier to build previous versions of ros?
thanks Lorenz, I didn't want to install a different distribution for the purpose of running a single package, but building under arch is beginning to appear infeasible.