ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unsuitable PythonLibs building catkin (Mac OS X 10.9.3)

asked 2014-07-18 10:30:56 -0600

-Andrew- gravatar image

updated 2014-07-18 10:49:54 -0600

demmeln gravatar image

Hello everybody,

I am trying to install ROS hydro (desktop full version) on a MacBook Pro with Mavericks (10.9.3). When I build the catkin workspace I get the following error:

Andreas-MacBook-Pro:ros_catkin_ws andreacarron$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release[B
Base path: /Users/andreacarron/ros_catkin_ws
Source space: /Users/andreacarron/ros_catkin_ws/src
Build space: /Users/andreacarron/ros_catkin_ws/build_isolated
Devel space: /Users/andreacarron/ros_catkin_ws/devel_isolated
Install space: /Users/andreacarron/ros_catkin_ws/install_isolated
Additional CMake Arguments: -DCMAKE_BUILD_TYPE=Release[B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  traversing 251 packages in topological order:
~~  - catkin
~~  - genmsg
~~  - gencpp
~~  - genlisp
~~  - genpy
~~  - angles
~~  - bfl (plain cmake)
~~  - bond_core
~~  - cmake_modules
~~  - common_msgs
~~  - common_tutorials
~~  - console_bridge (plain cmake)
~~  - class_loader
~~  - cpp_common
~~  - desktop
~~  - desktop_full
~~  - diagnostics
~~  - driver_common
~~  - eigen_stl_containers
~~  - executive_smach
~~  - gazebo_ros_pkgs
~~  - geometry
~~  - geometry_experimental
~~  - geometry_tutorials
~~  - image_common
~~  - image_pipeline
~~  - image_transport_plugins
~~  - laser_pipeline
~~  - media_export
~~  - message_generation
~~  - message_runtime
~~  - mk
~~  - mobile
~~  - navigation
~~  - nodelet_core
~~  - octomap (plain cmake)
~~  - opencv2 (plain cmake)
~~  - openslam_gmapping
~~  - orocos_kdl (plain cmake)
~~  - perception
~~  - perception_pcl
~~  - python_orocos_kdl (plain cmake)
~~  - qt_dotgraph
~~  - qt_gui
~~  - qt_gui_app
~~  - qt_gui_core
~~  - qt_gui_py_common
~~  - random_numbers
~~  - robot
~~  - robot_model
~~  - ros
~~  - ros_base
~~  - ros_comm
~~  - ros_full
~~  - ros_tutorials
~~  - rosbag_migration_rule
~~  - rosbash
~~  - rosboost_cfg
~~  - rosbuild
~~  - rosclean
~~  - roscpp_traits
~~  - roscreate
~~  - rosdoc_lite
~~  - rosgraph
~~  - roslang
~~  - roslint
~~  - roslisp
~~  - rosmake
~~  - rosmaster
~~  - rosmsg
~~  - rospack
~~  - roslib
~~  - rosparam
~~  - rospy
~~  - rosservice
~~  - rostime
~~  - roscpp_serialization
~~  - python_qt_binding
~~  - rosbag_storage
~~  - roslaunch
~~  - rosunit
~~  - rosconsole
~~  - pluginlib
~~  - qt_gui_cpp
~~  - resource_retriever
~~  - rosconsole_bridge
~~  - rostest
~~  - rqt_action
~~  - rqt_bag
~~  - rqt_bag_plugins
~~  - rqt_common_plugins
~~  - rqt_console
~~  - rqt_dep
~~  - rqt_graph
~~  - rqt_gui
~~  - rqt_logger_level
~~  - rqt_moveit
~~  - rqt_msg
~~  - rqt_nav_view
~~  - rqt_plot
~~  - rqt_pose_view
~~  - rqt_publisher
~~  - rqt_py_common
~~  - rqt_py_console
~~  - rqt_reconfigure
~~  - rqt_robot_dashboard
~~  - rqt_robot_monitor
~~  - rqt_robot_plugins
~~  - rqt_robot_steering
~~  - rqt_runtime_monitor
~~  - rqt_service_caller
~~  - rqt_shell
~~  - rqt_srv
~~  - rqt_tf_tree
~~  - rqt_top
~~  - rqt_topic
~~  - rqt_web
~~  - simulators
~~  - smach
~~  - smclib
~~  - stage (plain cmake)
~~  - std_msgs
~~  - actionlib_msgs
~~  - bond
~~  - diagnostic_msgs
~~  - geometry_msgs
~~  - eigen_conversions
~~  - kdl_conversions
~~  - nav_msgs
~~  - rosgraph_msgs
~~  - sensor_msgs
~~  - camera_calibration_parsers
~~  - cv_bridge
~~  - image_geometry
~~  - map_msgs
~~  - pcl_msgs
~~  - shape_msgs
~~  - smach_msgs
~~  - std_srvs
~~  - stereo_msgs
~~  - tf2_msgs
~~  - tf2
~~  - tf2_bullet
~~  - trajectory_msgs
~~  - control_msgs
~~  - gazebo_msgs
~~  - urdfdom_headers (plain cmake)
~~  - urdf_parser_plugin
~~  - urdfdom (plain cmake)
~~  - vision_opencv
~~  - visualization_msgs
~~  - shape_tools
~~  - geometric_shapes
~~  - visualization_tutorials
~~  - viz
~~  - xmlrpcpp
~~  - roscpp
~~  - bondcpp
~~  - bondpy
~~  - collada_parser
~~  - diagnostic_common_diagnostics
~~  - joint_state_publisher
~~  - move_base_msgs
~~  - nodelet
~~  - nodelet_tutorial_math
~~  - pcl_conversions
~~  - pluginlib_tutorials
~~  - roscpp_tutorials
~~  - rosout
~~  - camera_calibration
~~  - diagnostic_aggregator
~~  - diagnostic_updater
~~  - dynamic_reconfigure
~~  - filters
~~  - message_filters
~~  - image_transport
~~  - camera_info_manager
~~  - image_view
~~  - polled_camera
~~  - rosnode
~~  - rospy_tutorials
~~  - rostopic
~~  - roswtf
~~  - rqt_gui_cpp
~~  - rqt_gui_py
~~  - rqt_image_view
~~  - self_test
~~  - smach_ros
~~  - tf2_py
~~  - timestamp_tools
~~  - topic_tools
~~  - rosbag
~~  - actionlib
~~  - actionlib_tutorials
~~  - diagnostic_analysis
~~  - driver_base
~~  - image_proc
~~  - nodelet_topic_tools
~~  - rqt_launch
~~  - stereo_image_proc
~~  - tf2_ros
~~  - tf
~~  - compressed_depth_image_transport
~~  - compressed_image_transport
~~  - fake_localization
~~  - gmapping
~~  - interactive_markers
~~  - interactive_marker_tutorials
~~  - laser_geometry
~~  - laser_assembler
~~  - laser_filters
~~  - map_server
~~  - amcl
~~  - pcl_ros
~~  - depth_image_proc
~~  - robot_pose_ekf
~~  - stage_ros
~~  - tf2_geometry_msgs
~~  - tf2_kdl
~~  - tf2_tools
~~  - tf_conversions
~~  - image_rotate
~~  - theora_image_transport
~~  - turtlesim
~~  - turtle_actionlib
~~  - turtle_tf
~~  - urdf
~~  - collada_urdf
~~  - gazebo_plugins
~~  - gazebo_ros
~~  - kdl_parser
~~  - robot_state_publisher
~~  - rviz
~~  - librviz_tutorial
~~  - rqt_rviz
~~  - rviz_plugin_tutorials
~~  - rviz_python_tutorial
~~  - urdf_tutorial
~~  - visualization_marker_tutorials
~~  - voxel_grid
~~  - costmap_2d
~~  - nav_core
~~  - base_local_planner
~~  - carrot_planner
~~  - clear_costmap_recovery
~~  - dwa_local_planner
~~  - move_slow_and_clear
~~  - navfn
~~  - rotate_recovery
~~  - move_base
~~  - xacro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> Processing catkin package: 'catkin'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/Users/andreacarron/ros_catkin_ws/build_isolated/catkin'
==> make -j2 -l2 in '/Users/andreacarron/ros_catkin_ws/build_isolated/catkin'
==> make install in '/Users/andreacarron/ros_catkin_ws/build_isolated/catkin'
Install the project...
-- Install configuration: "Release[B"
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/.catkin
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/_setup_util.py
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/env.sh
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/setup.bash
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/setup.sh
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/setup.zsh
-- Installing: /Users/andreacarron/ros_catkin_ws/install_isolated/.rosinstall
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated/etc/catkin/profile.d/05.catkin_make.bash
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated/etc/catkin/profile.d/05.catkin_make_isolated.bash
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated/lib/pkgconfig/catkin.pc
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig.cmake
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated/share/catkin/cmake/catkinConfig-version.cmake
-- Up-to-date: /Users/andreacarron/ros_catkin_ws/install_isolated ...
(more)
edit retag flag offensive close merge delete

Comments

Could you please put the long compilation output on something like pastebin.com and provide a link. This makes it much easier to read and navigate your question. Thanks.

demmeln gravatar image demmeln  ( 2014-07-18 11:08:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-07-18 11:06:38 -0600

demmeln gravatar image

updated 2014-08-01 16:50:26 -0600

It looks like you installed python from homebrew. There are issues with cmake and brewed python, i.e. cmake pickes up the library provided by Apple (version 2.7.5), but the python interpreter is the one from homebrew 2.7.8. Hence the error. See https://github.com/Homebrew/homebrew/... for a long unresolved discussion of this problem.

You should be able to address this with a patched (but experimental!) version of the Python cmake modules:

brew remove cmake; brew install nikolausdemmel/devel/cmake

Then remove the build* and devel* folders and retry the compilation.

On a side note, you are aware of the other patches currently needed to build Hydro desktop_full on OS X 10.9? You will likely need to apply the following patches in your workspace (see https://github.com/ros/rosdistro/issu... ):

pushd src/robot_model
curl https://github.com/ros/robot_model/pull/43.patch | patch -p1
popd

pushd src/robot_state_publisher
curl https://github.com/ros/robot_state_publisher/pull/5.patch | patch -p1
popd

pushd src/python_qt_binding/
curl https://github.com/ros-visualization/python_qt_binding/pull/12.patch | patch -p1
popd

Update: Of the above three patches, only the robot_model patch is needed, and even that should be released soon.

edit flag offensive delete link more

Comments

It worked perfectly! Thank you demmmeln! Thank you also for the note, I did not known nothing about the patches.

-Andrew- gravatar image -Andrew-  ( 2014-07-19 01:21:43 -0600 )edit

Question Tools

Stats

Asked: 2014-07-18 10:30:56 -0600

Seen: 803 times

Last updated: Aug 01 '14