Makefile:61: recipe for target 'install' failed

asked 2020-07-30 10:45:27 -0500

Kaustav Ghosh gravatar image

updated 2020-07-30 10:46:33 -0500

I am trying to setup ROS 1 with python 3 to create a wrapper for an application (yolo v4) . Unfortunately, ROS 1 and cv_bridge isn't that Python 3 friendly. So i am following this tutorial

  https://medium.com/@beta_b0t/how-to-setup-ros-with-python-3-44a69ca36674

to setup Python 3 with ROS. Everything runs fine until executing the last command, which is :

catkin_make_isolated --install --pkg rosunit -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/melodic

I get the following error message.

kaustav@kaustav-OMEN-ubuntu:~/catkin_ws$ catkin_make_isolated --install --pkg rosunit -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/melodic
Base path: /home/kaustav/catkin_ws
Source space: /home/kaustav/catkin_ws/src
Build space: /home/kaustav/catkin_ws/build_isolated
Devel space: /home/kaustav/catkin_ws/devel_isolated
Install space: /opt/ros/melodic
Additional CMake Arguments: -DCMAKE_BUILD_TYPE=Release
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 11 packages in topological order:
~~  - mk
~~  - ros
~~  - rosbash
~~  - rosboost_cfg
~~  - rosbuild
~~  - rosclean
~~  - roscreate
~~  - roslang
~~  - rosmake
~~  - roslib
~~  - rosunit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The packages or cmake arguments have changed, forcing cmake invocation
Skipping package: 'mk'
Skipping package: 'ros'
Skipping package: 'rosbash'
Skipping package: 'rosboost_cfg'
Skipping package: 'rosbuild'
Skipping package: 'rosclean'
Skipping package: 'roscreate'
Skipping package: 'roslang'
Skipping package: 'rosmake'
Skipping package: 'roslib'

==> Processing catkin package: 'rosunit'
==> Creating build directory: 'build_isolated/rosunit'
==> Building with env: '/opt/ros/melodic/env.sh'
==> cmake /home/kaustav/catkin_ws/src/ros/tools/rosunit -DCATKIN_DEVEL_PREFIX=/home/kaustav/catkin_ws/devel_isolated/rosunit -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/kaustav/catkin_ws/build_isolated/rosunit'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- 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 CATKIN_DEVEL_PREFIX: /home/kaustav/catkin_ws/devel_isolated/rosunit
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/kaustav/catkin_ws/build_isolated/rosunit/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.26
-- BUILD_SHARED_LIBS is on
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kaustav/catkin_ws/build_isolated/rosunit
==> make -j12 -l12 in '/home/kaustav/catkin_ws/build_isolated/rosunit'
==> make install in '/home/kaustav/catkin_ws ...
(more)
edit retag flag offensive close merge delete