[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to adjust PKG_CONFIG_PATH?
From: |
Ludovic Courtès |
Subject: |
Re: How to adjust PKG_CONFIG_PATH? |
Date: |
Wed, 19 Dec 2012 13:26:32 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi,
Nikita Karetnikov <address@hidden> skribis:
> checking for USBUTILS... no
> configure: error: Package requirements (usbutils >= 0.82) were not met:
Does /nix/store/*-usbutils/lib/pkgconfig/usbutils.pc exist? If it does,
is it version >= 0.82?
What’s the value of PKG_CONFIG_PATH in the ‘environment-variables’ file
of the build tree of the udev?
The procedure ‘set-paths’ in gnu-build-system.scm adds any input that
has a lib/pkgconfig sub-directory to $PKG_CONFIG_PATH. You can see it
in ‘environment-variables’, or at the beginning of the build log:
--8<---------------cut here---------------start------------->8---
starting phase `set-paths'
environment variable `PATH' set to `...'
environment variable `CPATH' set to `...'
environment variable `LIBRARY_PATH' set to `...'
environment variable `PKG_CONFIG_PATH' set to
`/nix/store/0s3wsb0dbw17pwyzm19kwssl4qfiyz9j-libffi-3.0.9/lib/pkgconfig:/nix/store/yn0npyhlff8m5vm278sxxfw4n40vmfdd-libgc-7.2alpha6/lib/pkgconfig:/nix/store/hbvm6c849x9cxhrq912ywg2nm8yhjjig-xz-5.0.4/lib/pkgconfig'
--8<---------------cut here---------------end--------------->8---
HTH,
Ludo’.