[ros-users] [Discourse.ros.org] [OpenEmbedded] Catkin_make error building package on machine after image install
Joe
ros.discourse at gmail.com
Thu Dec 28 15:22:55 UTC 2017
Hey all,
I am trying to build a package on the machine after I generated the image. I wanted to have it build with bitbake but had issues with external dependencies not building properly with BitBake so they have to be installed on the machine.
catkin_make fails with error:
```
-- Using CATKIN_DEVEL_PREFIX: /home/root/lidar_workspace/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using default Python package layout
-- Could NOT find PY_em (missing: PY_EM)
CMake Error at /opt/ros/indigo/share/catkin/cmake/empy.cmake:29 (message):
Unable to find either executable 'empy' or Python module 'em'... try
installing the package 'python-empy'
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/all.cmake:145 (include)
/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:52 (find_package)
```
running `find tmp/sysroots/salvator-x/ -name "*empy*"` results in:
```
tmp/sysroots/salvator-x/sysroot-providers/python-empy
tmp/sysroots/salvator-x/opt/ros/indigo/share/catkin/cmake/empy.cmake
tmp/sysroots/salvator-x/usr/lib/python2.7/site-packages/empy-3.3.2-py2.7.egg-info
tmp/sysroots/salvator-x/pkgdata/python-empy
tmp/sysroots/salvator-x/pkgdata/runtime-reverse/python-empy
tmp/sysroots/salvator-x/pkgdata/runtime-reverse/python-empy-dbg
tmp/sysroots/salvator-x/pkgdata/runtime-reverse/python-empy-dev
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-dbg
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-dbg.packaged
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-staticdev
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-dev
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-dev.packaged
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-doc
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy-locale
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy
tmp/sysroots/salvator-x/pkgdata/runtime/python-empy.packaged
```
I'm sure I'm missing something important related to installing python-empy but from what I can see with the recipes it should be installed with the packagegroup-ros-comm.
Any help is appreciated.
---
[Visit Topic](https://discourse.ros.org/t/catkin-make-error-building-package-on-machine-after-image-install/3549/1) or reply to this email to respond.
More information about the ros-users
mailing list