[ros-users] Problem with installing C Turtle on MAC

Cheng Ye cnhzcy14 at gmail.com
Sun Sep 5 17:16:14 UTC 2010


Hi guys,

I'm trying to install C Turtle on my 13" mac book pro. It has OS X10.6.4,
gcc i686-apple-darwin10-gcc-4.2.1. I followed the steps on this page:
http://www.ros.org/wiki/cturtle/Installation/OSX

At the end of step 1.2, I got following error:
==============================================================
{-------------------------------------------------------------------------------
  -- The CXX compiler identification is GNU
  -- Checking whether C compiler has -isysroot
  -- Checking whether C compiler has -isysroot - yes
  -- Checking whether C compiler supports OSX deployment target flag
  -- Checking whether C compiler supports OSX deployment target flag - yes
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Checking whether CXX compiler has -isysroot
  -- Checking whether CXX compiler has -isysroot - yes
  -- Checking whether CXX compiler supports OSX deployment target flag
  -- Checking whether CXX compiler supports OSX deployment target flag - yes
  -- 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
  [rosbuild] Building package roslib
  [rosbuild] Cached build flags older than manifests; calling rospack to get
flags
  [rosbuild] Including
/Users/cnhzcy14/ros/ros/core/roscpp/cmake/roscpp.cmake
  [rosbuild] Including
/Users/cnhzcy14/ros/ros/core/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /Users/cnhzcy14/ros/ros/core/rospy/cmake/rospy.cmake
  -- Looking for execinfo.h
  -- Looking for execinfo.h - found
  -- Looking for backtrace
  -- Looking for backtrace - found
  Traceback (most recent call last):
    File "/Users/cnhzcy14/ros/ros/bin/rosboost-cfg", line 35, in <module>
      rosboost_cfg.main()
    File
"/Users/cnhzcy14/ros/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py",
line 328, in main
      raise BoostError("Cannot find boost in any of
%s"%search_paths(options.sysroot))
  rosboost_cfg.rosboost_cfg.BoostError: "Cannot find boost in any of
[('/usr', True), ('/usr/local', True)]"
  CMake Error at /Users/cnhzcy14/ros/ros/core/rosbuild/public.cmake:811
(message):
    rosboost-cfg --include_dirs failed
  Call Stack (most recent call first):
    CMakeLists.txt:23 (rosbuild_add_boost_directories)
  
  
  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package roslib written to:
[ rosmake ]   
/Users/cnhzcy14/.ros/rosmake/rosmake_output-20100905-170708/roslib/build_output.log                     
[rosmake-0] Finished <<< roslib [FAIL] [ 5.93 seconds ]                                                                                                                            
[ rosmake ] Halting due to failure in package roslib. 
[ rosmake ] Waiting for other threads to complete.                                                                          
[rosmake-1] Finished <<< xmlrpcpp [PASS] [ 12.73 seconds ]                                                                                                                         
[ rosmake ] Results:                                                                                                                                                               
[ rosmake ] Built 5 packages with 1 failures.                                                                                                                                      
[ rosmake ] Summary output to directory                                                                                                                                            
[ rosmake ] /Users/cnhzcy14/.ros/rosmake/rosmake_output-20100905-170708                                                                                                            
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/Current/bin/rosinstall", line
5, in <module>
    pkg_resources.run_script('rosinstall==0.5.6', 'rosinstall')
  File
"/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/pkg_resources.py",
line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File
"/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/pkg_resources.py",
line 1200, in run_script
    execfile(script_filename, namespace, namespace)
  File
"/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/rosinstall-0.5.6-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 455, in <module>
    sys.exit(not rosinstall_main(sys.argv))
  File
"/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/rosinstall-0.5.6-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 446, in rosinstall_main
    subprocess.check_call("source %s && rosmake rostest --rosdep-install" %
(os.path.join(options.path, 'setup.sh')), shell=True,
executable='/bin/bash')
  File
"/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/subprocess.py",
line 498, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /Users/cnhzcy14/ros/setup.sh
&& rosmake rostest --rosdep-install' returned non-zero exit status 1
================================================================

Does anyone have some ideas about this? Thanks!

-----
程晔 Simon
-- 
View this message in context: http://ros-users.122217.n3.nabble.com/Problem-with-installing-C-Turtle-on-MAC-tp1422205p1422205.html
Sent from the ROS-Users mailing list archive at Nabble.com.



More information about the ros-users mailing list