[ros-users] rosdep install failed

Tully Foote tfoote at willowgarage.com
Wed Sep 8 08:57:49 UTC 2010


Hi Yoonsoo,

The errors you are encountering are ROS trying to help resolve system
dependencies for you.  However MontaVista is not one of our commonly used
platforms and ROS doesn't know how to detect it.  You can disable these
system dependency checks as follows, but you will have to resolve the system
dependencies manually.

To get the code you can use rosinstall with the -n to skip the automatic
bootstrap stage:
$ rosinstall ~/ros http://ros.org/rosinstalls/cturtle_ros.rosinstall -n

Then you will need to install the system dependencies for the packages you
care about.  Quickly to be able to compile everything in the above
rosinstall file you will need the equivalent of the following debian
packages:  python-wxgtk2.8 python-paramiko libboost1.40-all-dev pkg-config
python-yaml python-gtk2 libwxgtk2.8-dev python-numpy python-matplotlib
python-epydoc graphviz python-imaging doxygen libapr1-dev libbz2-dev
zlib1g-dev libaprutil1-dev automake python-dev liblog4cxx10-dev

Depending on which packages in particular you want to use, you won't need
all these dependencies.  The dependencies for each package are called out in
the manifest.xml file in the package like this"""<rosdep
name="log4cxx"/>""".  This name is then looked up in the rosdep.yaml file in
the root of the stack.  rosdep.yaml is documented here
http://www.ros.org/wiki/rosdep/rosdep.yaml

Once you have the needed system dependencies installed you can setup your
bash environment.
$ source ~/ros/setup.sh

And then run the bootstrap manually.
$ cd ~/ros/ros && make

After that you can continue following the tutorials however when you use the
rosmake command you want to pass it the "--no-rosdep" option each time you
use it. Also remember that as you install new packages you must make sure
their system dependencies are resolved.

I hope this helps.  Let me know if there's anything unclear.

Tully

On Wed, Sep 8, 2010 at 1:09 AM, 김윤수 <yesarang.kim at gmail.com> wrote:

> Dear all,
>
> I'm trying to install ROS on MontaVista Linux(www.mvista.com) which is
> a commercially supported real-time Linux distribution.
>
> ---
> I got a bunch of error messages during installation as follows
>
> $ rosinstall ~/ros http://ros.org/rosinstalls/cturtle_ros.rosinstall
> ...
> ...
> ...
> Bootstraping ROS build
> Could not detect OS. platform detection will not work
> [ rosmake ] Detected rosout not built, adding it to the build
> [ rosmake ] Packages requested are: ['rostest', 'rosout']
> [ rosmake ] Logging to
> directory/home/yskim/.ros/rosmake/rosmake_output-20100908-162930
> [ rosmake ] Expanded args ['rostest', 'rosout'] to:
> ['rostest', 'rosout']
> [ rosmake ] Generating Install Script using rosdep then executing. This may
> take a minute, you will be prompted for permissions. . .
> [ rosmake ] rosdep install failed: Could not detect OS, tried
> ['uninitialized from ROS_OS_OVERRIDE=name:version', 'rosdep_test_os',
> 'debian', 'ubuntu', 'ubuntu', 'fedora', 'rhel', 'arch', 'macports',
> 'gentoo', 'cygwin', 'freebsd']
> Traceback (most recent call last):
>   File "/usr/local/bin/rosinstall", line 436, in <module>
>     sys.exit(rosinstall_main(sys.argv) or 0)
>   File "/usr/local/bin/rosinstall", line 431, in rosinstall_main
>     subprocess.check_call("source %s && rosmake rostest --rosdep-install" %
> (os.path.join(options.path, 'setup.sh')), shell=True,
> executable='/bin/bash')
>   File "/usr/local/lib/python2.6/subprocess.py", line 498, in check_call
>     raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command 'source /home/yskim/ros/setup.sh &&
> rosmake rostest --rosdep-install' returned non-zero exit status 1
>  ---
>
> Current ROS doesn't seem to support MontaVista Linux.
> But I can't replace the current Linux distribution and still
> want to use several ROS packages.
>
> Could anyone let me know how to solve this problem?
>
> Thanks in advance
>
> - Yoonsoo
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100908/b94fd169/attachment-0003.html>


More information about the ros-users mailing list