Ask Your Question
0

a Mac OsX ROS that woks with Xcode 4.5.2 and Python 2.7.x or newer

asked 2012-12-10 14:06:25 -0500

romwalker gravatar image

updated 2012-12-10 14:24:07 -0500

Hi,

Why does ROS have to install/compile using python2.6 (py26) ? Mac OsX 10.7 (Lion) comes with python 2.7.3, and python 2.6 is unavailable anymore: At least when 2.7 is installed by default with the OS X; the 2.6 libraries are unavailable in usr/local/lib but 2.7 are there [instead?]. So when I follow the Mac OsX guide lines to install ROS , I am facing the obligation to install py26-yaml, and the compile comes using the python 2.7 existing in the system, which results in a compilation/linking where libraries from 2.7 are looked for in the wrong places.

Also, because of that 'confusion', the PATH indicates something while the exe and libraries are elsewhere, most likely in 2 different places. This shows in compilation that there is a mix of python2.6 use and unfound libraries of python 2.7 or versi- verca.

Does there exist a way to Install/compile ROS ROS, properly, using python2.7.x or newer; and the proper gcc compiler that comes with codeX?

Could you think of a packaged solution (dmg like) where everything needed could be put nicely together?

Thank you for guiding me with this matter at your earliest and kind convenience.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-12-11 02:41:07 -0500

Kevin gravatar image

Current ROS distributions do not make you install python 2.6. I suggest you identify what you are trying to install and reference (link) what instructions you are following.

OSX is an experimental platform for ROS and complaining about install methods isn't useful. Also please search here on anwers.ros.org, there are lots of answers to common problems with installing Groovy, Fuerte, and even old Electric.

Once you provide some more concrete information we may be able to help. Again, OSX is a mixed bag and if you are new to ROS, maybe you should start with a Linux version first.

edit flag offensive delete link more
0

answered 2012-12-11 05:20:58 -0500

romwalker gravatar image

Hi ,

Thank you for you prompt answer. I was more to say frustrated than complaining... My question was actually to the point, since even new to ROS, I am a bit familiar with Linux instals and packages. So I agree that Mac OSX is a plate of nuddles when it comes to how it handles its links in many and plenty of different directories! I am new to that (OsX) too... Anyway, I am trying to install a better version of ROS, since I realized that I could go for fuerte (py27) instead of the Diamond (py26), and things seem to go just fine for now. A problem I am facing now is that brew and fink/macport package installs seem conflicting. Thank you again /Romwalker

edit flag offensive delete link more

Comments

No problem ... there are times I feel I do more to make ROS work on OSX than real robotics work :)

Kevin gravatar image Kevin  ( 2012-12-11 16:18:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-12-10 14:06:25 -0500

Seen: 118 times

Last updated: Dec 11 '12