Ask Your Question
0

(Groovy | 12.04 | armv7l) Install from Source Desktop

asked 2013-02-22 07:47:35 -0500

amrivera gravatar image

updated 2014-01-28 17:15:22 -0500

ngrennan gravatar image
$ wstool init -j8 src h t t p://packages.ros.org/web/rosinstall/generate/raw/groovy/desktop

I am having issues with some packages (flann, opencv2, cv_bridge, image_geometry, collada_parser, camera_info_manager, rqt_image_view, rosbag, diagnostic_analysis, interactive_markers, pcl, urdf, ... will continue adding while I continue...)

I ended up erasing those directories rm -rf src/flann, rm -rf src/opencv2,... and running

./src/catkin/bin/catkin_make_isolated --install --install-space /opt/ros/groovy

Is there a way to bypass the errors so that it does not make from the beginning and just continue were it left? Also, is there another way to correctly install these?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2013-02-22 10:41:29 -0500

KruseT gravatar image

If you run catkin_make_isolated again, it will kind of continue where it left, since it will not do anything for completed packages.

edit flag offensive delete link more
2

answered 2013-02-22 10:03:07 -0500

kalectro gravatar image

If you are using an ARM, I would assume you do not have 8 core, so I would suggest running

wstool init -j1 src http://packages.ros.org/web/rosinstall/generate/raw/groovy/desktop

It might also take a long while until all files are downloaded, so I would assume you did not give the packages enough time to download. You will run into more problems when trying to compile, so I would suggest looking into this tutorial

edit flag offensive delete link more

Comments

Most of the time is spent on IO, so even with one CPU -j8 can be good, I believe.

KruseT gravatar image KruseT  ( 2013-02-22 10:39:44 -0500 )edit

When I compile on ARM, it also takes a while to go through all packages but that will not be sped up by using multiple cores. Multiple cores will only be used within single packages. If you look at the tutorial I linked, it also explains how to set up a chroot to make it compile faster

kalectro gravatar image kalectro  ( 2013-02-22 12:55:55 -0500 )edit

I am in the process of following your tutorial, but am having problems when creating the image. I am posting the output below.

amrivera gravatar image amrivera  ( 2013-02-25 03:46:28 -0500 )edit
0

answered 2013-02-25 03:49:14 -0500

amrivera gravatar image

I am in the process of following your tutorial, but am having problems when creating the image:

~/workspace$ sudo linaro-media-create --rootfs ext3 --mmc gumstix.img --dev overo --hwpack Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz --binary Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz
mv: cannot stat `/tmp/tmpPmKOmQ/binary/etc/resolv.conf': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/linaro-media-create", line 156, in <module>
    verified_files, *hwpacks)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 48, in install_hwpacks
    prepare_chroot(chroot_dir, tmp_dir)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 38, in prepare_chroot
    temporarily_overwrite_file_on_dir('/etc/resolv.conf', chroot_etc, tmp_dir)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 155, in temporarily_overwrite_file_on_dir
    as_root=True).wait()
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mv', '-f', '/tmp/tmpPmKOmQ/binary/etc/resolv.conf', '/tmp/tmpPmKOmQ/resolv.conf']" returned a non-zero value: 1

Please advise...

edit flag offensive delete link more

Comments

why don't you start copying the image provided in the tutorial to your SD card and go from there? I do not know where your problem comes from

kalectro gravatar image kalectro  ( 2013-02-25 03:57:53 -0500 )edit

Please either extend your question with the log, or start a new question.

KruseT gravatar image KruseT  ( 2013-02-25 22:50:27 -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

Stats

Asked: 2013-02-22 07:47:35 -0500

Seen: 430 times

Last updated: Feb 25 '13