[ros-release] Indigo and multiarch support
Dirk Thomas
dthomas at osrfoundation.org
Wed Apr 9 16:55:25 UTC 2014
Currently you can not use GNUInstallDirs for catkin packages since the arch
specific locations are not supported in a catkin workspace.
The files would just not be found by downstream package due to there non
standard location.
- Dirk
On Wed, Apr 9, 2014 at 9:34 AM, Fabien Spindler <Fabien.Spindler at inria.fr>wrote:
> Hi,
>
> I'm trying to release visp on indigo. The release process works well for
> Saucy, but fails for Trusty:
> http://www.ros.org/debbuild/indigo.html?q=visp
>
> According to
> http://jenkins.ros.org/view/IbinT32/job/ros-indigo-visp_binarydeb_trusty_i386/lastFailedBuild/console
> the error is:
>
> dpkg-shlibdeps: error: couldn't find library libvisp.so.2.9 needed by debian/ros-indigo-visp/opt/ros/indigo/share/visp/demo/wireframe-simulator/servoSimu4Points
>
>
> In the CMakeLists.txt I use CMAKE_INSTALL_LIBDIR to determine the
> installation path :
>
> include(${CMAKE_ROOT}/Modules/GNUInstallDirs.cmake)
>
>
> install(TARGETS ${VISP_INTERN_LIBRARY} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
>
> On Trusty the library is installed in /opt/ros/indigo/lib/i386-linux-gnu/libvisp.so.2.9.0
> rather than in /opt/ros/indigo/lib/ as it seems expected by the build farm.
>
>
> I can modify my CMakeLists.txt to set manually CMAKE_INSTALL_LIBDIR=lib
> before including GNUInstallDirs.cmake but it will be then an horrible hack.
>
> Is there a more elegant way to fix that ?
>
> Thanks
>
> Fabien
>
>
> _______________________________________________
> ros-release mailing list
> ros-release at code.ros.org
> http://lists.ros.org/mailman/listinfo/ros-release
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-release/attachments/20140409/123801e2/attachment.html>
More information about the ros-release
mailing list