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.

Josh

On Wed, Jun 23, 2010 at 1:42 PM, Steven Bellens <steven.bellens@mech.kuleuven.be> wrote:


2010/6/23 Rich Mattes <jpgr87@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@code.ros.org [mailto:ros-users-bounces@code.ros.org] On Behalf Of Josh Faust
Sent: Wednesday, June 23, 2010 2:18 PM
To: bellenssteven@gmail.com; ros-users@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@gmail.com> wrote:

Hey Josh,

2010/6/23 Josh Faust <jfaust@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@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@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users

 

 

 


_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users



_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users