ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Connection to internet while rosmaking

asked 2011-07-06 02:23:56 -0600

sunilsulania9192 gravatar image

updated 2011-07-06 06:21:05 -0600

mmwise gravatar image

I was trying to rosmake eigen cause it occured as a error package while compiling turtlebot, while i was not connected to internet each time i tried errors came. but suddenely when i got connected the netbook to internet I got it worked fine and even it took only some minutes. The error was :

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

[rosmake-1] Starting >>> eigen [ make ]                                         
[ rosmake ] All 7 linesroscpp: 1.4 sec ] [ eigen:... [ 2 Active 21/71 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p build
  if [ ! -f eigen-3.0prebeta3.tar.bz2.md5sum ]; then echo "Error: Couldn't find md5sum file eigen-3.0prebeta3.tar.bz2.md5sum" && false; fi
  `rospack find rosbuild`/bin/download_checkmd5.py https://code.ros.org/svn/release/download/thirdparty/eigen/eigen-3.0prebeta3.tar.bz2 build/eigen-3.0prebeta3.tar.bz2 `awk {'print $1'} eigen-3.0prebeta3.tar.bz2.md5sum`
  [rosbuild] Checking md5sum on build/eigen-3.0prebeta3.tar.bz2
  [rosbuild] WARNING: md5sum mismatch (5010c6d093a4c6b59ed4804a0472bf39 != 7e048a2c20f2757a10aa8267d80b1392); re-downloading file build/eigen-3.0prebeta3.tar.bz2
  [rosbuild] ERROR: md5sum mismatch (5010c6d093a4c6b59ed4804a0472bf39 != 7e048a2c20f2757a10aa8267d80b1392) on build/eigen-3.0prebeta3.tar.bz2; aborting
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package eigen written to:
[ rosmake ]    /home/sunny/.ros/rosmake/rosmake_output-20110706-225013/eigen/build_output.log
[rosmake-1] Finished <<< eigen [FAIL] [ 0.64 seconds ]  



''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Do we really need to be connected while rosmaking? what is the role of internet in compiling?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2011-07-06 02:50:45 -0600

arebgun gravatar image

updated 2011-07-06 02:53:54 -0600

Some ROS packages are just wrappers for third-party libraries. When you first build them, they go out and download the code (either an archive or source checkout), unpack it, apply any patches and finally compile. That first step requires internet access.

edit flag offensive delete link more
1

answered 2011-07-06 02:49:24 -0600

dornhege gravatar image

The rosmake system allows to use external libraries (that are not system dependencies).

Therefore you can write a makefile that downloads a tarball, extracts it and sets it up to use with the specific package. The eigen package does this, so when you remake it, it will try to reget the tarball from the internet.

edit flag offensive delete link more

Comments

is it like this, each time i want to remake eigen it will redirect to its internet location.
sunilsulania9192 gravatar image sunilsulania9192  ( 2011-07-06 02:51:14 -0600 )edit
if you clean it before yes, otherwise I do not know. Actually the download and unpack is the only thing that is done for Eigen, as it is a headers only library, so there is no compiling going on. Thus, you don't need to remake eigen for any reason (as you can't). Maybe you want to remake your code?
dornhege gravatar image dornhege  ( 2011-07-06 03:06:52 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2011-07-06 02:23:56 -0600

Seen: 313 times

Last updated: Jul 06 '11