Hi,

Nikita Karetnikov <[email protected]> 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’.

Reply via email to