Install ROS Indigo on Raspbian Jessie



I am trying to install ROS Indigo on my Raspberry Pi 2 B, running Raspbian for Robots (from Dexter Industries) which is based on Raspbian Jessie (8).

I was following the following instruction for Ros_comm: Tutorial

However, the step for building liblz4 from source by using this command

apt-get source -b lz4

Didn’t work, which resulted in the following error:

./fuzzer -T9mn
Starting LZ4 fuzzer (32-bits, )
Seed = 4821
Overflow tests : Makefile:277: recipe for target 'test-fuzzer' failed
make[3]: *** [test-fuzzer] Killed
make[3]: Leaving directory '/home/pi/ros_catkin_ws/external_src/lz4-0.0~r131/programs'
Makefile:98: recipe for target 'test' failed
make[2]: *** [test] Error 2
make[2]: Leaving directory '/home/pi/ros_catkin_ws/external_src/lz4-0.0~r131'
debian/rules:47: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/home/pi/ros_catkin_ws/external_src/lz4-0.0~r131'
debian/rules:33: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd lz4-0.0~r131 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Did anyone have a similar problem and knows a solution?

I would be very grateful.


I think this post would be more fitting on the Official Raspberry Pi forums.


I attempted ROS once but I don’t remember running into the issue you have.
Best approach would be to ask ROS people.
Good luck!