Ask Your Question
0

missing packages when building ros from source

asked 2011-12-21 23:14:02 -0500

tprk77 gravatar image

updated 2011-12-21 23:14:56 -0500

When I try to install and build ROS electric from source, rosdep complains about not being able to find certain packages. These packages are not in the Ubuntu repositories, so where am I supposed to get them?

One such package is yaml-cpp0.2.6-dev.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-22 01:39:14 -0500

tom gravatar image

updated 2011-12-22 03:03:57 -0500

I didn't have this problem, so you probably omitted an installation step or so. ROS repositories provide yaml-cpp0.2.6-dev, so if you cannot install it with

sudo apt-get install yaml-cpp0.2.6-dev

it means that you probably didn't set up your sources.list properly (read here, depending on your Ubuntu version). Remember to set up your keys and update apt-get's lists afterwards:

wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
sudo apt-get update

Now yaml-cpp0.2.6-dev should be there for you.

edit flag offensive delete link more

Comments

This is true. Even when doing ROS completely from source, there are a few other packages outside of ROS that the ROS repositories provide. So even when doing a source install, you have to add the repositories to apt.
mjcarroll gravatar image mjcarroll  ( 2011-12-22 03:30:33 -0500 )edit
Actually I think this should be mentioned in the Wiki, or is it?
tom gravatar image tom  ( 2011-12-22 19:17:11 -0500 )edit
I've added it to the wiki page for source based installation. http://www.ros.org/wiki/electric/Installation/Ubuntu/Source
tfoote gravatar image tfoote  ( 2012-01-02 05:45:54 -0500 )edit
Thank you for adding this to the wiki.
tprk77 gravatar image tprk77  ( 2012-01-04 05:31:24 -0500 )edit
0

answered 2011-12-22 01:43:05 -0500

joq gravatar image

On packages.ros.org there are i386 and amd64 files for Lucid, Maverick, Natty and Oneiric. What Ubuntu system are you running?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2011-12-21 23:14:02 -0500

Seen: 255 times

Last updated: Dec 22 '11