From ros-users-bounces@code.ros.org  Wed Mar 16 20:56:26 2011
Return-Path: <ros-users-bounces@code.ros.org>
X-Original-To: www-data@code.ros.org
Delivered-To: www-data@code.ros.org
Received: from pub5.willowgarage.com (localhost [127.0.0.1])
	by pub5.willowgarage.com (Postfix) with ESMTP id 134C12EC687;
	Wed, 16 Mar 2011 20:56:26 -0700 (PDT)
X-Original-To: ros-users@code.ros.org
Delivered-To: ros-users@code.ros.org
Received: from mail-gx0-f174.google.com (mail-gx0-f174.google.com
	[209.85.161.174])
	by pub5.willowgarage.com (Postfix) with ESMTPS id 6164425C0A9
	for <ros-users@code.ros.org>; Wed, 16 Mar 2011 20:56:25 -0700 (PDT)
Received: by gxk21 with SMTP id 21so1229147gxk.5
	for <ros-users@code.ros.org>; Wed, 16 Mar 2011 20:56:24 -0700 (PDT)
Received: by 10.150.63.19 with SMTP id l19mr966779yba.71.1300334184105; Wed,
	16 Mar 2011 20:56:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.133.7 with HTTP; Wed, 16 Mar 2011 20:56:04 -0700 (PDT)
In-Reply-To: <AANLkTi=ffLLe=WpK8Pt8Z8Di1+_bcGnWBEMjmviiET1Q@mail.gmail.com>
References: <AANLkTinV83VePNCs-qE4RrDTjZEX6z60uGow1TfAvuh1@mail.gmail.com>
	<AANLkTi=OfDaCKUOX+5Wir4uw-mvNqALoStQ1EocvFb8o@mail.gmail.com>
	<AANLkTimd1_XeYa_6gt+PvB9zB5TKPWuO2PgVLLZoXiz=@mail.gmail.com>
	<AANLkTi=EUbG1i3==2Aps52SZSeDv1TAMJoEmzFRwpGf6@mail.gmail.com>
	<AANLkTi=om34TEHCkK2GdknkTzxVnCOr=6UUKojCta8R7@mail.gmail.com>
	<AANLkTimNKUkHGCmogf_A7+fUU2S3XMnzyRwgqGL-DTGE@mail.gmail.com>
	<AANLkTim+TFNTJzuuukAMPtr_3BD5OfnaHEwJ_ijCLHw1@mail.gmail.com>
	<AANLkTi=rA71jceFWy4d9M8mR+EQxcGEK8D6bzs493h=L@mail.gmail.com>
	<AANLkTi=ffLLe=WpK8Pt8Z8Di1+_bcGnWBEMjmviiET1Q@mail.gmail.com>
From: "S.Sudarshan" <sudarshan85@gmail.com>
Date: Wed, 16 Mar 2011 23:56:04 -0400
Message-ID: <AANLkTinK905GLTsFz8-oa_34xPes4YuEpxQqax-nCWSK@mail.gmail.com>
To: User discussions <ros-users@code.ros.org>
Subject: Re: [ros-users] Pyyaml using easy_install on Mac OS X
X-BeenThere: ros-users@code.ros.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: User discussions <ros-users@code.ros.org>
List-Id: User discussions <ros-users.code.ros.org>
List-Unsubscribe: <https://code.ros.org/mailman/listinfo/ros-users>,
	<mailto:ros-users-request@code.ros.org?subject=unsubscribe>
List-Archive: </lurker/list/ros-users.html>
List-Post: <mailto:ros-users@code.ros.org>
List-Help: <mailto:ros-users-request@code.ros.org?subject=help>
List-Subscribe: <https://code.ros.org/mailman/listinfo/ros-users>,
	<mailto:ros-users-request@code.ros.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6094595622800039501=="
Mime-version: 1.0
Sender: ros-users-bounces@code.ros.org
Errors-To: ros-users-bounces@code.ros.org

--===============6094595622800039501==
Content-Type: multipart/alternative; boundary=000e0cd5c74c22133b049ea5a50c

--000e0cd5c74c22133b049ea5a50c
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I finally fixed it. Just letting everyone know in case someone else has a
similar problem. Basically, the problem with the pyyaml installation is, Mac
OS X comes with a Python installation (2.5) which is located at
/System/Library/Frameworks/Python.framework/Versions/2.5/

Soft links for python, python-config, python2.5 etc for execs located in the
above folder are available at /usr/bin.

Now Macports installs its own version of python (2.6 for ROS) which is
located at
/opt/localLibrary/Frameworks/Python.framework/Versions2.6/

Now, there are also multiple versions of easy_install the default one
catering to python version 2.5. So if we do sudo easy_install -U rosinstall,
rosinstall gets installed at /usr/local/bin and when launched references the
original python version that came with Mac OS X. Making sure that the
Macports bin path appears before /usr/bin doesnt fix this problem. So what I
ended up doing is removing the soft links in /usr/bin for the original
python installation. Then I used easy_install-2.6 to install rosinstall.
Now, heres the tricky part, using this command installs rosinstall
at /opt/localLibrary/Frameworks/Python.framework/Versions2.6/bin/rosinstall
and /opt/localLibrary/Frameworks/Python.framework/Versions2.6/bin/roslocate.
However, these are not included into the PATH variable by defualt. So, I
just soft linked rosinstall and roslocate to /opt/local/bin and ran
rostinstall. And everything works now! (well it seems to be installing).

Thanks everyone for your help,
S.

--000e0cd5c74c22133b049ea5a50c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<div><br></div><div>I finally fixed it. Just letting everyone know in ca=
se someone else has a similar problem. Basically, the problem with the pyya=
ml installation is, Mac OS X comes with a Python installation (2.5) which i=
s located at=A0</div>

<div>/System/Library/Frameworks/Python.framework/Versions/2.5/</div><div><b=
r></div><div>Soft links for python, python-config, python2.5 etc for execs =
located in the above folder are available at /usr/bin.=A0</div><div><br>
</div>
<div>Now Macports installs its own version of python (2.6 for ROS) which is=
 located at</div><div>/opt/localLibrary/Frameworks/Python.framework/Version=
s2.6/</div><div><br></div><div>Now, there are also multiple versions of eas=
y_install the default one catering to python version 2.5. So if we do sudo =
easy_install -U rosinstall, rosinstall gets installed at /usr/local/bin and=
 when launched references the original python version that came with Mac OS=
 X. Making sure that the Macports bin path appears before /usr/bin doesnt f=
ix this problem. So what I ended up doing is removing the soft links in /us=
r/bin for the original python installation. Then I used easy_install-2.6 to=
 install rosinstall. Now, heres the tricky part, using this command install=
s rosinstall at=A0/opt/localLibrary/Frameworks/Python.framework/Versions2.6=
/bin/rosinstall and=A0/opt/localLibrary/Frameworks/Python.framework/Version=
s2.6/bin/roslocate. However, these are not included into the PATH variable =
by defualt. So, I just soft linked rosinstall and roslocate to /opt/local/b=
in and ran rostinstall. And everything works now! (well it seems to be inst=
alling).</div>

<div><br></div><div>Thanks everyone for your help,</div><div>S.</div><meta =
charset=3D"utf-8"><meta charset=3D"utf-8">

--000e0cd5c74c22133b049ea5a50c--

--===============6094595622800039501==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6094595622800039501==--

