Re: [ros-users] rosinstall problems on Debian

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] rosinstall problems on Debian
Correction, it was initially linked to gcc 4.4.

Also, the Debian Squeeze dependencies for boost and log4cxx should be
set to libboost1.42-all-dev liblog4cxx10-dev

On Feb 15, 2011, at 8:36 PM, Taylor Veltrop wrote:

> After upgrading to Debian 6.0 the rosinstall script works fine.
>
> The new problem is that nothing would compile: "gcc fails to compile
> simple program"
>
> 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
> Is there a more correct way of doing this?
>
> Now things seem to be moving along.
>
> This happened with both cturtle and diamondback by the way.
>
> On Feb 15, 2011, at 12:57 AM, Willy Lambert wrote:
>
>> 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.
>>
>> Yes Squeeze is officially a stable version for a week, so now,
>> lenny may be (IMO) considered as an "old install".
>>
>> 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.
>>
>>
>>
>>
>> 2011/2/14 Taylor Veltrop <>
>> Ok, looks like I'll have to do a dist upgrade.
>>
>> Wow, I didn't know that squeeze was officially released!
>>
>> Thanks for the heads up Ugo!
>>
>> On Feb 14, 2011, at 9:05 PM, Ugo Cupcic wrote:
>>
>>> Hi,
>>>
>>> Yes on lenny you get python 2.5 and for this you need python 2.6
>>> at least.
>>>
>>> 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 :)
>>>
>>> Cheers,
>>>
>>> Ugo
>>>
>>> On Mon, Feb 14, 2011 at 12:00 PM, Taylor Veltrop
>>> <> wrote:
>>> 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 http://www.ros.org/wiki/cturtle/Installation/Debian
>>> . Python version is 2.5.2.
>>>
>>> Executed:
>>> sudo apt-get install build-essential python-yaml cmake subversion
>>> wget python-setuptools
>>> and:
>>> sudo easy_install -U rosinstall
>>>
>>> When I run:
>>> rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=base&overlay=no
>>> "
>>>
>>> Here is the output:
>>> veltrobot:~ $ rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=cturtle&variant=ros_only&overlay=no 
>>> "
>>> /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
>>> Traceback (most recent call last):
>>>   File "/usr/bin/rosinstall", line 5, in <module>
>>>     pkg_resources.run_script('rosinstall==0.5.15', 'rosinstall')
>>>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line  
>>> 448, in run_script
>>>     self.require(requires)[0].run_script(script_name, ns)
>>>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line  
>>> 1173, in run_script
>>>     exec script_code in namespace, namespace
>>>   File "/usr/bin/rosinstall", line 28, in <module>

>>>
>>>   File "/usr/lib/python2.5/site-packages/rosinstall-0.5.15- 
>>> py2.5.egg/rosinstall/vcs/svn.py", line 49
>>>     with open(os.devnull, 'w') as fnull:
>>>             ^
>>> SyntaxError: invalid syntax

>>>
>>> If I download the old http://www.ros.org/rosinstall and do a
>>> ./rosinstall ~/ros "http://www.ros.org/rosinstalls/cturtle_base.rosinstall
>>> "
>>> then it all works out fine as it used to.
>>>
>>> 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.
>>>
>>> Sorry if this has been covered before, I feel like it's something
>>> obvious but I haven't been able to find a solution.
>>>
>>> Is Debian lenny's python the problem?
>>>
>>>
>>> Taylor Veltrop
>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>>
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>>
>>>
>>>
>>> --
>>> Ugo Cupcic | Shadow Robot Company |
>>> Software Engineer | 251 Liverpool Road |
>>> need a Hand? | London N1 1LX | +44 20 7700 2487
>>> http://www.shadowrobot.com/hand/ @shadowrobot
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>>
>>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>