ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Building ROS on Arch is definitely not trivial and the install instructions are probably outdated. The patches you were trying to apply are 8 months old.

I didn't build more than the ROS underlay recently in Arch and there are basically mainly three things you have to do:

  1. Get the script to fix the python shebang lines from here and run it on your underlay.

  2. Get rid of rx. I couldn't manage to compile it at the moment because of some weird swig error I don't have time to investigate right now.

  3. Use the following cmake call: cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte.

  4. Open ros_comm/tools/rosbag/src/recorder.cpp and go to line 439. Change boost::TIME_UTC to boost::TIME_UTC_ to make it compile with the most recent boost version.

This should allow you to build at least the middleware and the basic build system and command line tools. For higher-level stacks, you will have to fix a lot of code yourself which is a pretty time consuming process.

An alternative solution in case you need to stick with Arch and cannot switch to Ubuntu is to install a Ubuntu chroot environment in which you can install ROS using apt-get. Just google for debootstrap in case you want to try that.