I want to install ROS Indigo on my RPi: Building liblz4 from source fails.

asked 2017-07-12 10:41:42 -0600

nikku gravatar image

Hi everyone.

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

Had anyone a similar problem and knows a solution?

I would be very grateful.

edit retag flag offensive close merge delete