Robotics StackExchange | Archived questions

hello everyone, i had a problem installing ros kinetic on raspbian jessie

sudo ./src/catkin/bin/catkinmakeisolated --install -DCMAKEBUILDTYPE=Release -DCMAKEMODULEPATH=/usr/share/cmake-3.0/Modules --install-space /opt/ros/kinetic -j2

results: ........

==> Processing catkin package: 'cvbridge' ==> Creating build directory: 'buildisolated/cvbridge' ==> Building with env: '/opt/ros/kinetic/env.sh' ==> cmake /home/pi/roscatkinws/src/visionopencv/cvbridge -DCATKINDEVELPREFIX=/home/pi/roscatkinws/develisolated/cvbridge -DCMAKEINSTALLPREFIX=/opt/ros/kinetic -DCMAKEBUILDTYPE=Release -DCMAKEMODULEPATH=/usr/share/cmake-3.0/Modules -G Unix Makefiles in '/home/pi/roscatkinws/buildisolated/cvbridge' -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CATKINDEVELPREFIX: /home/pi/roscatkinws/develisolated/cvbridge -- Using CMAKEPREFIXPATH: /opt/ros/kinetic -- This workspace overlays: /opt/ros/kinetic -- Found PythonInterp: /usr/bin/python (found version "2.7.9") -- Using PYTHONEXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKINENABLETESTING: ON -- Call enabletesting() -- Using CATKINTESTRESULTSDIR: /home/pi/roscatkinws/buildisolated/cvbridge/testresults -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthreadcreate -- Looking for pthreadcreate - not found -- Looking for pthreadcreate in pthreads -- Looking for pthreadcreate in pthreads - not found -- Looking for pthreadcreate in pthread -- Looking for pthreadcreate in pthread - found -- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.6 -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found version "2.7.9") -- Boost version: 1.55.0 -- Found the following Boost libraries: -- python -- Found OpenCV: /opt/ros/kinetic (found version "3.2.0") -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found suitable version "2.7.9", minimum required is "2.7") -- Configuring done -- Generating done -- Build files have been written to: /home/pi/ros
catkinws/buildisolated/cvbridge ==> make -j2 in '/home/pi/roscatkinws/buildisolated/cvbridge' Scanning dependencies of target stdmsgsgeneratemessagesnodejs Scanning dependencies of target sensormsgsgeneratemessagespy [ 0%] Built target sensormsgsgeneratemessagespy [ 0%] Built target stdmsgsgeneratemessagesnodejs Scanning dependencies of target sensormsgsgeneratemessagescpp Scanning dependencies of target stdmsgsgeneratemessagescpp [ 0%] Built target sensormsgsgeneratemessagescpp [ 0%] Built target stdmsgsgeneratemessagescpp Scanning dependencies of target sensormsgsgeneratemessageslisp Scanning dependencies of target sensormsgsgeneratemessageseus [ 0%] Built target sensormsgsgeneratemessageslisp [ 0%] Built target sensormsgsgeneratemessageseus Scanning dependencies of target geometrymsgsgeneratemessagescpp Scanning dependencies of target geometrymsgsgeneratemessageseus [ 0%] Built target geometrymsgsgeneratemessagescpp [ 0%] Built target geometrymsgsgeneratemessageseus Scanning dependencies of target geometrymsgsgeneratemessagesnodejs Scanning dependencies of target sensormsgsgeneratemessagesnodejs [ 0%] Built target sensormsgsgeneratemessagesnodejs [ 0%] Built target geometrymsgsgeneratemessagesnodejs Scanning dependencies of target stdmsgsgeneratemessagespy Scanning dependencies of target geometrymsgsgeneratemessageslisp [ 0%] Built target geometrymsgsgeneratemessageslisp [ 0%] Built target stdmsgsgeneratemessagespy Scanning dependencies of target stdmsgsgeneratemessageseus Scanning dependencies of target geometrymsgsgeneratemessagespy [ 0%] Built target geometrymsgsgeneratemessagespy [ 0%] Built target stdmsgsgeneratemessageseus Scanning dependencies of target stdmsgsgeneratemessageslisp [ 0%] Built target stdmsgsgeneratemessageslisp Scanning dependencies of target cvbridge [ 33%] Building CXX object src/CMakeFiles/cvbridge.dir/rgbcolors.cpp.o [ 33%] Building CXX object src/CMakeFiles/cvbridge.dir/cvbridge.cpp.o [ 50%] Linking CXX shared library /home/pi/roscatkinws/develisolated/cvbridge/lib/libcvbridge.so [ 50%] Built target cvbridge Scanning dependencies of target cvbridgeboost [ 66%] Building CXX object src/CMakeFiles/cvbridgeboost.dir/module.cpp.o [ 83%] Building CXX object src/CMakeFiles/cvbridgeboost.dir/moduleopencv3.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.9/README.Bugs for instructions. src/CMakeFiles/cvbridgeboost.dir/build.make:62: recipe for target 'src/CMakeFiles/cvbridgeboost.dir/module.cpp.o' failed make[2]: *** [src/CMakeFiles/cvbridgeboost.dir/module.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:828: recipe for target 'src/CMakeFiles/cvbridgeboost.dir/all' failed make[1]: *** [src/CMakeFiles/cvbridgeboost.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 <== Failed to process package 'cvbridge': Command '['/opt/ros/kinetic/env.sh', 'make', '-j2']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/pi/roscatkinws/buildisolated/cvbridge && /opt/ros/kinetic/env.sh make -j2

Command failed, exiting.

Asked by hamza_ENPO on 2017-03-23 08:17:28 UTC

Comments

Please make this a proper question by describing what you are trying to do, what happened, why you think it failed, etc. Right now it's just a dump of an error message.

Please also format it properly using the Preformatted Text button (the one with 101010 on it).

Asked by gvdhoorn on 2017-03-23 12:20:57 UTC

Answers