Ask Your Question
0

PkgConfig in Groovy on Quantal

asked 2014-08-29 10:00:45 -0500

David Lu gravatar image

I'm having with a job on the buildfarm. http://jenkins.ros.org/job/ros-groovy...

Probably relevant error:

-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:319 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:6 (pkg_check_modules)

Offending CMake is here: https://github.com/wg-perception/peop...

What is the proper way to check for the BFL package in Groovy that will work on the buildfarm?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-08-29 10:39:45 -0500

Dirk Thomas gravatar image

It is perfectly fine to use pkg-config to resolve dependencies but if a package does so it also needs to declare that pkg-config is a build dependency in the package.xml file:

<build_depend>pkg-config</build_depend>

Otherwise the build farm does not know that it should be installed.

edit flag offensive delete link more

Comments

Hrm. Didn't seem to take: http://jenkins.ros.org/job/ros-groovy...

David Lu gravatar imageDavid Lu ( 2014-08-29 20:17:12 -0500 )edit

How should it change? You haven't released a new patch release, right? The recent deb-inc still uses the same upstream code: https://github.com/OSUrobotics/people... - no pkg-config dependency in there.

Dirk Thomas gravatar imageDirk Thomas ( 2014-08-29 20:40:00 -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

1 follower

Stats

Asked: 2014-08-29 10:00:45 -0500

Seen: 78 times

Last updated: Aug 29 '14