Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 327713

Summary: sys-fs/udev-149[extras] needs pkg-config for building
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: udev maintainers <udev-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: nirbheek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikoli 2010-07-10 19:09:34 UTC
Without USE="extras" and pkg-config it builds fine, but with [extras] it fails if pkg-konfig is not installed:
checking for GLIB... configure: error: in `/tmp/portage/sys-fs/udev-149/work/udev-149':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details.


Reproducible: Always
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-07-10 19:30:59 UTC
udev needs pkg-config in DEPEND for getting glib-2.0 cflags/libs.
Comment 2 Matthias Schwarzott gentoo-dev 2010-08-02 21:02:16 UTC
Fixed. Thanks for reporting.