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

problem in installation stuck.... Might be a rookie question please guide.

asked 2011-11-06 04:25:49 -0600

medampudi gravatar image

HI... I am trying to install the ROS complete desktop environment.... in mac osx lion.

Log for python26 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/main.log
To report a bug, see <http://guide.macports.org/#project.tickets>
[ rosmake ] rosdep install failed: rosdep script failed with stderr 
{{{
Error: Target org.macports.destroot returned: shell command failed (see log for details)
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade python26 failed

}}}
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.22', 'rosinstall')
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 489, in run_script
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1214, in run_script
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rosinstall-0.5.22-py2.7.egg/EGG-INFO/scripts/rosinstall", line 679, in <module>

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rosinstall-0.5.22-py2.7.egg/EGG-INFO/scripts/rosinstall", line 670, in rosinstall_main

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /Users/rajeshmedampudi/ros/setup.sh && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1

Please help or guide me in the right path... i am having a tough time to find any material.... thank you.....

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2011-11-06 05:08:13 -0600

makokal gravatar image

For ROS on mac and Lion especially I would recommend you work with homebrew, and William has a decent outline of this right here . If you decide to stick to macports though, you might want to check your python path issues

edit flag offensive delete link more

Comments

Thanks... For the information... yours will be awarded the answer .... by the way i installed with Macports itself... had a seen a few suggestions. for working on it. out... will explain as an answer.
medampudi gravatar image medampudi  ( 2011-11-07 04:11:31 -0600 )edit
0

answered 2011-11-08 14:35:46 -0600

William gravatar image
edit flag offensive delete link more

Comments

hi.. thanks... for the update... I understand the rookie mistake i did later... but was to get an answer from him... any how... it seems that i am having some trouble with my internal llvm-gcc compiler itself. so trying to get that installation process to work. thanks for your support.
medampudi gravatar image medampudi  ( 2011-11-08 20:30:42 -0600 )edit
0

answered 2011-11-07 05:05:33 -0600

medampudi gravatar image

I got this error at almost the make part of the ROS installed files. could you please have a look at this... Thanks,

{-------------------------------------------------------------------------------
  -- 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 rosconsole
  [rosbuild] Cached build flags older than manifests; calling rospack to get flags
  [rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /Users/rajeshmedampudi/ros/ros_comm/tools/rosconsole/build
  cd build && make -l8
  Scanning dependencies of target rospack_genmsg_libexe
  [  0%] Built target rospack_genmsg_libexe
  Scanning dependencies of target rosbuild_precompile
  [  0%] Built target rosbuild_precompile
  Scanning dependencies of target rosconsole
  [ 50%] Building CXX object CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o
  /Users/rajeshmedampudi/ros/ros_comm/tools/rosconsole/src/rosconsole/rosconsole.cpp:684: internal compiler error: Segmentation fault: 11
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://developer.apple.com/bugreporter> for instructions.
  make[3]: *** [CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o] Error 1
  make[2]: *** [CMakeFiles/rosconsole.dir/all] Error 2
  make[1]: *** [all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package rosconsole written to:
[ rosmake ]    /Users/rajeshmedampudi/.ros/rosmake/rosmake_output-20111107-233014/rosconsole/build_output.log                      
[rosmake-4] Finished <<< rosconsole [FAIL] [ 7.71 seconds ]                                                                                                                                        
[ rosmake ] Halting due to failure in package rosconsole. 
[ rosmake ] Waiting for other threads to complete.                                                                                      
[rosmake-0] Finished <<< rosunit [PASS] [ 24.44 seconds ]                                                                                                                                          
[rosmake-5] Finished <<< rosgraph [PASS] [ 24.44 seconds ]                                                                                                                                         
[rosmake-6] Finished <<< std_msgs [PASS] [ 24.44 seconds ]                                                                                                                                         
[ rosmake ] Results:                                                                                                                                                                               
[ rosmake ] Built 28 packages with 1 failures.                                                                                                                                                     
[ rosmake ] Summary output to directory                                                                                                                                                            
[ rosmake ] /Users/rajeshmedampudi/.ros/rosmake/rosmake_output-20111107-233014                                                                                                                     
Traceback (most recent call last):
  File "/usr/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.22', 'rosinstall')
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1214, in run_script
    exec script_code in namespace, namespace
  File "/Library/Python/2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 679, in <module>

  File "/Library/Python/2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 670, in ...
(more)
edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-06 04:25:49 -0600

Seen: 925 times

Last updated: Nov 08 '11