Ask Your Question
1

failed to install pkg-config

asked 2012-04-11 00:11:48 -0600

Roy89 gravatar image

updated 2014-03-05 20:48:56 -0600

130s gravatar image

Hi i'm new to ros and have been trying to install the player ros package from http://www.ros.org/wiki/player . When I run rosmake player it complains that pkg-config isn't installed. I then tried to run rosdep install player but it fails to install pkg-config.

calum0@ubuntu:~/ros_workspace/player$ rosdep install player
Failed to find rosdep pkg-config for package player on OS:ubuntu version:oneiric
rosdep install ERROR:
failed to install pkg-config
calum0@ubuntu:~/ros_workspace/player$ rosmake player
[ rosmake ] Packages requested are: ['player']                                  
[ rosmake ] Logging to directory/home/calum0/.ros/rosmake/rosmake_output-20120411-180619
[ rosmake ] Expanded args ['player'] to:
['player']                             
[ rosmake ] Checking rosdeps compliance for packages player.  This may take a few seconds.
Failed to find rosdep pkg-config for package player on OS:ubuntu version:oneiric
WARNING: Rosdeps [u'pkg-config'] could not be resolved
Failed to find rosdep pkg-config for package player on OS:ubuntu version:oneiric
[ rosmake ] rosdep check failed to find system dependencies: pkg-config         
[rosmake-0] Starting >>> player [ make ]                                        
[ rosmake ] All 9 lines
{-------------------------------------------------------------------------------
  make wipe
  make[1]: Entering directory `/home/calum0/ros_workspace/player'
  rm -rf build/player-svn/build
  rm -rf player installed wiped
  rm -rf build
  make[1]: Leaving directory `/home/calum0/ros_workspace/player'
  touch wiped
  touch: cannot touch `wiped': Permission denied
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package player written to:
[ rosmake ]    /home/calum0/.ros/rosmake/rosmake_output-20120411-180619/player/build_output.log
[rosmake-0] Finished <<< player [FAIL] [ 0.01 seconds ]                         
[ rosmake ] Halting due to failure in package player. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 1 packages with 1 failures.                                   
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/calum0/.ros/rosmake/rosmake_output-20120411-180619            
[ rosmake ] WARNING: Rosdep did not detect the following system dependencies as installed: pkg-config Consider using --rosdep-install option or `rosdep install player`
calum0@ubuntu:~/ros_workspace/player$ 

calum0@ubuntu:~/ros_workspace/player$ rosdep install player
Failed to find rosdep pkg-config for package player on OS:ubuntu version:oneiric
rosdep install ERROR:
failed to install pkg-config
calum0@ubuntu:~/ros_workspace/player$
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-17 07:56:07 -0600

tfoote gravatar image

You are missing the stack erratic_robot which contains rosdep.yaml which defines how to install pkg-config.

You need to checkout all of erratic_robot or copy the rosdep.yaml file into the player directory and make sure it's not within a stack, as it appears to be in your file layout.

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

Stats

Asked: 2012-04-11 00:11:48 -0600

Seen: 689 times

Last updated: Mar 05 '14