[ros-users] cturtle installation on Fedora 12 x86_64

Steven Bellens steven.bellens at mech.kuleuven.be
Thu Jun 24 08:39:31 UTC 2010


2010/6/23 Josh Faust <jfaust at willowgarage.com>

> rosboost-cfg --root should be returning something even if it couldn't find
> the libraries in the lib directory, but there may be a bug there.  It
> definitely will not look in the lib64 directories for the libs though.
>
> I've ticketed this: https://code.ros.org/trac/ros/ticket/2831, but I don't
> have a system I can test it on atm.  If someone could provide a patch that
> would help.
>

I've uploaded a patch of rosboost_cfg.py which solves the problem here.
Patch should be tested on a 32-bit system as well, which I don't have here.

Steven


>
> Josh
>
>
> On Wed, Jun 23, 2010 at 1:42 PM, Steven Bellens <
> steven.bellens at mech.kuleuven.be> wrote:
>
>>
>>
>> 2010/6/23 Rich Mattes <jpgr87 at gmail.com>
>>
>>  Fedora 12 x86_64 would, by default, install boost to /usr/lib64.
>>> boost-devel-1.39.0-9.fc12.x86_64.rpm (the latest version available for
>>> Fedora 12) provides the following libraries:
>>>
>>>
>>>
>>> /usr/lib64/libboost_date_time-mt.so
>>>
>>> /usr/lib64/libboost_date_time.so
>>>
>>> /usr/lib64/libboost_filesystem-mt.so
>>>
>>> /usr/lib64/libboost_filesystem.so
>>>
>>> /usr/lib64/libboost_graph-mt.so
>>>
>>> /usr/lib64/libboost_graph.so
>>>
>>> /usr/lib64/libboost_iostreams-mt.so
>>>
>>> /usr/lib64/libboost_iostreams.so
>>>
>>> /usr/lib64/libboost_math_c99-mt.so
>>>
>>> /usr/lib64/libboost_math_c99.so
>>>
>>> /usr/lib64/libboost_math_c99f-mt.so
>>>
>>> /usr/lib64/libboost_math_c99f.so
>>>
>>> /usr/lib64/libboost_math_c99l-mt.so
>>>
>>> /usr/lib64/libboost_math_c99l.so
>>>
>>> /usr/lib64/libboost_math_tr1-mt.so
>>>
>>> /usr/lib64/libboost_math_tr1.so
>>>
>>> /usr/lib64/libboost_math_tr1f-mt.so
>>>
>>> /usr/lib64/libboost_math_tr1f.so
>>>
>>> /usr/lib64/libboost_math_tr1l-mt.so
>>>
>>> /usr/lib64/libboost_math_tr1l.so
>>>
>>> /usr/lib64/libboost_prg_exec_monitor-mt.so
>>>
>>> /usr/lib64/libboost_prg_exec_monitor.so
>>>
>>> /usr/lib64/libboost_program_options-mt.so
>>>
>>> /usr/lib64/libboost_program_options.so
>>>
>>> /usr/lib64/libboost_python-mt.so
>>>
>>> /usr/lib64/libboost_python.so
>>>
>>> /usr/lib64/libboost_regex-mt.so
>>>
>>> /usr/lib64/libboost_regex.so
>>>
>>> /usr/lib64/libboost_serialization-mt.so
>>>
>>> /usr/lib64/libboost_serialization.so
>>>
>>> /usr/lib64/libboost_signals-mt.so
>>>
>>> /usr/lib64/libboost_signals.so
>>>
>>> /usr/lib64/libboost_system-mt.so
>>>
>>> /usr/lib64/libboost_system.so
>>>
>>> /usr/lib64/libboost_thread-mt.so
>>>
>>> /usr/lib64/libboost_unit_test_framework-mt.so
>>>
>>> /usr/lib64/libboost_unit_test_framework.so
>>>
>>> /usr/lib64/libboost_wave-mt.so
>>>
>>> /usr/lib64/libboost_wave.so
>>>
>>> /usr/lib64/libboost_wserialization-mt.so
>>>
>>> /usr/lib64/libboost_wserialization.so
>>>
>>
>> That's indeed what I have here.
>> I assume the fact that rosboost-cfg --root returns nothing points out that
>> ros doesn't find my boost installation?
>>
>> Steven
>>
>>
>>>
>>>
>>> Rich
>>>
>>>
>>>
>>> *From:* ros-users-bounces at code.ros.org [mailto:
>>> ros-users-bounces at code.ros.org] *On Behalf Of *Josh Faust
>>> *Sent:* Wednesday, June 23, 2010 2:18 PM
>>> *To:* bellenssteven at gmail.com; ros-users at code.ros.org
>>> *Subject:* Re: [ros-users] cturtle installation on Fedora 12 x86_64
>>>
>>>
>>>
>>> What does /usr/lib/libboost* look like?  They may be adding a suffix that
>>> we don't check for.
>>>
>>>
>>>
>>> Josh
>>>
>>>
>>>
>>> On Wed, Jun 23, 2010 at 11:05 AM, steven bellens <
>>> bellenssteven at gmail.com> wrote:
>>>
>>> Hey Josh,
>>>
>>> 2010/6/23 Josh Faust <jfaust at willowgarage.com>
>>>
>>>
>>>
>>> Where is boost installed?  What does rosboost-cfg --root return?
>>>
>>>
>>>
>>> Boost is installed through package manager yum, it's in /usr/include/
>>>
>>> rosboost-cfg --root returns nothing.
>>>
>>>
>>>
>>> Steven
>>>
>>>
>>>
>>>
>>>
>>> Josh
>>>
>>> On Wed, Jun 23, 2010 at 12:05 AM, steven bellens <
>>> bellenssteven at gmail.com> wrote:
>>>
>>>   Hi,
>>>
>>>
>>>
>>> I'm trying to install the cturtle version of ROS but the roslib package
>>> fails:
>>>
>>>
>>>
>>> ros/core/roslib]$ make
>>>
>>>
>>> mkdir -p bin
>>>
>>>
>>>
>>> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
>>> rosbuild`/rostoolchain.cmake  ..
>>>
>>>
>>> [rosbuild] Building package roslib
>>>
>>>
>>>
>>> [rosbuild] Including
>>> /home/steven/src/svn/cturtle/install/ros/core/roslisp/cmake/roslisp.cmake
>>>
>>> [rosbuild] Including
>>> /home/steven/src/svn/cturtle/install/ros/core/rospy/cmake/rospy.cmake
>>>
>>> [rosbuild] Including
>>> /home/steven/src/svn/cturtle/install/ros/core/roscpp/cmake/roscpp.cmake
>>>
>>> CMake Error at
>>> /home/steven/src/svn/cturtle/install/ros/core/rosbuild/public.cmake:846
>>> (message):
>>>
>>>   [rosboost-cfg --libs thread] failed with error: Traceback (most recent
>>> call
>>>
>>>   last):
>>>
>>>
>>>
>>>     File "/home/steven/src/svn/cturtle/install/ros/bin/rosboost-cfg",
>>> line 35, in <module>
>>>
>>>       rosboost_cfg.main()
>>>
>>>     File
>>> "/home/steven/src/svn/cturtle/install/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 327, in main
>>>
>>>       output = libs(ver, options.libs.split(','))
>>>
>>>     File
>>> "/home/steven/src/svn/cturtle/install/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 264, in libs
>>>
>>>       print >> s, find_lib(ver, lib, True),
>>>
>>>     File
>>> "/home/steven/src/svn/cturtle/install/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
>>> line 227, in find_lib
>>>
>>>       raise BoostError('Could not locate library [%s]'%(name))
>>>
>>>
>>>
>>>   rosboost_cfg.rosboost_cfg.BoostError: 'Could not locate library
>>> [thread]'
>>>
>>>
>>>
>>> Call Stack (most recent call first):
>>>
>>>   CMakeLists.txt:26 (rosbuild_link_boost)
>>>
>>>
>>>
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>>
>>> make: *** [all] Error 1
>>>
>>>
>>>
>>>
>>>
>>> I've used the rosinstall script to start a base installation:
>>> "./rosinstall install http://ros.org/rosinstalls/cturtle_base.rosinstall
>>> "
>>>
>>> Boost libraries are installed (boost, boost-devel, boost-thread). Any
>>> ideas on where to look for this?
>>>
>>>
>>>
>>> best regards,
>>>
>>>
>>>
>>> Steven
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100624/3e1275ff/attachment-0003.html>


More information about the ros-users mailing list