From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to adjust PKG_CONFIG_PATH? Date: Wed, 19 Dec 2012 13:26:32 +0100 Message-ID: <874njifcsn.fsf@gnu.org> References: <877goeoi69.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlIja-00021M-N9 for bug-guix@gnu.org; Wed, 19 Dec 2012 07:26:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlIjW-0002M3-BT for bug-guix@gnu.org; Wed, 19 Dec 2012 07:26:50 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:12754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlIjW-0002Kt-4c for bug-guix@gnu.org; Wed, 19 Dec 2012 07:26:46 -0500 In-Reply-To: <877goeoi69.fsf@karetnikov.org> (Nikita Karetnikov's message of "Tue, 18 Dec 2012 22:05:44 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Hi, Nikita Karetnikov skribis: > checking for USBUTILS... no > configure: error: Package requirements (usbutils >=3D 0.82) were not met: Does /nix/store/*-usbutils/lib/pkgconfig/usbutils.pc exist? If it does, is it version >=3D 0.82? What=E2=80=99s the value of PKG_CONFIG_PATH in the =E2=80=98environment-var= iables=E2=80=99 file of the build tree of the udev? The procedure =E2=80=98set-paths=E2=80=99 in gnu-build-system.scm adds any = input that has a lib/pkgconfig sub-directory to $PKG_CONFIG_PATH. You can see it in =E2=80=98environment-variables=E2=80=99, or at the beginning of the buil= d 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/0s3wsb0dbw17pwyzm= 19kwssl4qfiyz9j-libffi-3.0.9/lib/pkgconfig:/nix/store/yn0npyhlff8m5vm278sxx= fw4n40vmfdd-libgc-7.2alpha6/lib/pkgconfig:/nix/store/hbvm6c849x9cxhrq912ywg= 2nm8yhjjig-xz-5.0.4/lib/pkgconfig' --8<---------------cut here---------------end--------------->8--- HTH, Ludo=E2=80=99.