I agree with boost, <br>I don't know what is stated for log4cxx but what you suggest seems correct. I'll post a patch for it tonight<br><br><div class="gmail_quote">2011/2/15 Taylor Veltrop <span dir="ltr"><<a href="mailto:taylor@veltrop.com">taylor@veltrop.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Correction, it was initially linked to gcc 4.4.<div><br>
</div><div>Also, the Debian Squeeze dependencies for boost and log4cxx should be set to <span style="font-family: Courier;">libboost1.42-all-dev liblog4cxx10-dev</span><div><div></div><div class="h5"><br><div><br><div><div>
<div>On Feb 15, 2011, at 8:36 PM, Taylor Veltrop wrote:</div><br><blockquote type="cite"><div style="word-wrap: break-word;">After upgrading to Debian 6.0 the rosinstall script works fine.<div><br></div><div>The new problem is that nothing would compile: "gcc fails to compile simple program"</div>
<div><br></div><div>gcc was linked to gcc-4.3 so I had to do a rm /usr/bin/gcc and ln -s /usr/bin/gcc-4.3 /usr/bin/gcc</div><div>Is there a more correct way of doing this?</div><div><br></div><div>Now things seem to be moving along.</div>
<div><br></div><div>This happened with both cturtle and diamondback by the way.</div><div><div><br><div><div>On Feb 15, 2011, at 12:57 AM, Willy Lambert wrote:</div><br><blockquote type="cite">Debian installation is quite new and might not work on every installation (that's why there is a WORK IN PROGRESS on top of it ;) ). Please do not hesitate to share your problem here, you'll receive help and you'll help Debian becoming a fully working installation.<br>
 <br> Yes Squeeze is officially a stable version for a week, so now, lenny may be (IMO) considered as an "old install". <br> <br> If you dare, I suggest you to try the next coming version of ROS because dependencies are better managed. It is currently in a release candidate state, so it's close to be the new newest version.<br>
 <br> <br><br><br><div class="gmail_quote">2011/2/14 Taylor Veltrop <span dir="ltr"><<a href="mailto:taylor@veltrop.com" target="_blank">taylor@veltrop.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 <div style="word-wrap: break-word;">Ok, looks like I'll have to do a dist upgrade.<div><br></div><div>Wow, I didn't know that squeeze was officially released!</div><div><br></div><div>Thanks for the heads up Ugo!<div>
 <div></div><div><div><br><div><div>On Feb 14, 2011, at 9:05 PM, Ugo Cupcic wrote:</div><br><blockquote type="cite">Hi,<br><br>Yes on lenny you get python 2.5 and for this you need python 2.6 at least.<br><br>Installing ros on lenny was a bit of a pain (well in our case). If you uprgade to the latest debian, then it should make your life a LOT easier with ROS :)<br>
  <br>Cheers,<br><br>Ugo<br><br><div class="gmail_quote">On Mon, Feb 14, 2011 at 12:00 PM, Taylor Veltrop <span dir="ltr"><<a href="mailto:taylor@veltrop.com" target="_blank">taylor@veltrop.com</a>></span> wrote:<br>
 <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div style="word-wrap: break-word;">Embarrassed to say that I can't get the newest rosinstall working on my machine, using Debian lenny 5.0.8 and the standard source based install instructions at <a href="http://www.ros.org/wiki/cturtle/Installation/Debian" target="_blank">http://www.ros.org/wiki/cturtle/Installation/Debian</a>.  Python version is 2.5.2.<div>
  <br></div><div>Executed:<br><div><div><div><div><font face="Courier">sudo apt-get install build-essential python-yaml cmake subversion wget python-setuptools</font></div><div>and:</div><div><font face="Courier">sudo easy_install -U rosinstall</font></div>
  </div><div><br></div><div>When I run:</div><div><span style="white-space: pre-wrap;"><font face="Courier">rosinstall ~/ros "<a href="http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=base&overlay=no" target="_blank">http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=base&overlay=no</a>"</font></span></div>
  <div><span style="font-family: courier,monospace; font-size: 15px; white-space: pre-wrap;"><br></span></div><div><span style="font-family: courier,monospace; font-size: 15px; white-space: pre-wrap;"><span style="font-family: Helvetica; white-space: normal; font-size: medium;">Here is the output:</span></span></div>
  <div><span><span><div><font face="Courier">veltrobot:~ $ rosinstall ~/ros "<a href="http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no" target="_blank">http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no</a>"</font></div>
  <div><font face="Courier">/usr/lib/python2.5/site-packages/rosinstall-0.5.15-py2.5.egg/rosinstall/vcs/svn.py:49: Warning: 'with' will become a reserved keyword in Python 2.6</font></div><div><font face="Courier">Traceback (most recent call last):</font></div>
  <div><font face="Courier">  File "/usr/bin/rosinstall", line 5, in <module></font></div><div><font face="Courier">    pkg_resources.run_script('rosinstall==0.5.15', 'rosinstall')</font></div>
  <div><font face="Courier">  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448, in run_script</font></div><div><font face="Courier">    self.require(requires)[0].run_script(script_name, ns)</font></div>
  <div><font face="Courier">  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1173, in run_script</font></div><div><font face="Courier">    exec script_code in namespace, namespace</font></div><div>
  <font face="Courier">  File "/usr/bin/rosinstall", line 28, in <module></font></div><div><font face="Courier">    </font></div><div><font face="Courier">  File "/usr/lib/python2.5/site-packages/rosinstall-0.5.15-py2.5.egg/rosinstall/vcs/svn.py", line 49</font></div>
  <div><font face="Courier">    with open(os.devnull, 'w') as fnull:</font></div><div><font face="Courier">            ^</font></div><div><font face="Courier">SyntaxError: invalid syntax</font></div></span></span></div>
  <div><span style="font-family: courier,monospace; font-size: 15px; white-space: pre-wrap;"><span style="font-family: Helvetica; white-space: normal; font-size: medium;"><br></span></span></div><div>If I download the old <a href="http://www.ros.org/rosinstall" target="_blank">http://www.ros.org/rosinstall</a> and do a </div>
  <div><font face="Courier">./rosinstall ~/ros "<a href="http://www.ros.org/rosinstalls/cturtle_base.rosinstall" target="_blank">http://www.ros.org/rosinstalls/cturtle_base.rosinstall</a>"</font></div><div>then it all works out fine as it used to.</div>
  <div><br></div><div>I found an old thread with the same error message from an ArchLinux user.  They fixed it by changing a python 3 symlink to a 2.7 symlink.  That does not apply in my case.</div><div><br></div><div>Sorry if this has been covered before, I feel like it's something obvious but I haven't been able to find a solution.</div>
  <div><br></div><div>Is Debian lenny's python the problem?</div><div><br></div><font color="#888888"><div><br></div><div>Taylor Veltrop</div><div><br></div><div><br></div></font></div></div></div></div><br>_______________________________________________<br>
  ros-users mailing list<br> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
  <br></blockquote></div><br><br clear="all"><br>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">ugo@shadowrobot.com</a> <br>Software Engineer | 251 Liverpool Road | <br>need a Hand? | London N1 1LX | +44 20 7700 2487 <br>
  <a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a> @shadowrobot <br><br> _______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
 <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br></blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
 ros-users mailing list<br> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
 <br></blockquote></div><br> _______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br></div></div></div></blockquote></div><br></div></div></div></div></div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>