From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: How to adjust PKG_CONFIG_PATH? Date: Tue, 18 Dec 2012 22:05:44 -0500 Message-ID: <877goeoi69.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl9ya-000601-Lt for bug-guix@gnu.org; Tue, 18 Dec 2012 22:05:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl9yX-0005qU-3Z for bug-guix@gnu.org; Tue, 18 Dec 2012 22:05:44 -0500 Received: from li305-5.members.linode.com ([178.79.168.5]:40822 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl9yW-0005qL-Qr for bug-guix@gnu.org; Tue, 18 Dec 2012 22:05:41 -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: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Hi, I'm packaging 'udev'. It fails with the following error: checking for USBUTILS... no configure: error: Package requirements (usbutils >= 0.82) were not met: No package 'usbutils' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables USBUTILS_CFLAGS and USBUTILS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Can I use 'set-path-environment-variable' for this purpose? How? Nikita --=-=-= Content-Disposition: attachment; filename=udev.scm ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- ;;; Copyright (C) 2012 Nikita Karetnikov ;;; ;;; This file is part of Guix. ;;; ;;; Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with Guix. If not, see . (define-module (distro packages udev) #:use-module (guix licenses) #:use-module (distro packages acl) #:use-module (distro packages base) #:use-module (distro packages gperf) #:use-module (distro packages libusb) #:use-module (distro packages linux) #:use-module (distro packages pkg-config) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public udev (package (name "udev") (version "182") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/utils/kernel/hotplug/udev-" version ".tar.xz")) (sha256 (base32 "1awp7p07gi083w0dwqhhbbas68a7fx2sbm1yf1ip2jwf7cpqkf5d")))) (build-system gnu-build-system) (inputs `(("util-linux" ,util-linux) ("usbutils" ,usbutils) ("kmod" ,kmod) ("libusb" ,libusb) ("acl" ,acl) ("libc" ,glibc) ("pkg-config" ,pkg-config) ("gperf" ,gperf))) (home-page "https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html") (synopsis "Udev manages the /dev filesystem") (description "Udev is a device manager for the Linux kernel. It manages device nodes in /dev. It also handles all user space actions connected with adding and removing devices.") (license '(gpl2+ lgpl2.1+)))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ0S8DAAoJEM+IQzI9IQ383UoP/jx99rHrxKytAkm738dIDzeE 9sUhA5u0g1VpEomjLjuwo4OfrIS+Ic4B4NBnELORcJPtLqFWfUQMw2xOpfVzeYKY UP8MbvDyGGI0o67GzbEq+NWCKQQ6XEOOtMPtqeT6QRz2RP23pMWp/EKWHwm9YbA7 uEc+k2Iz/5yqwrPIYUtwBf+BS/UF8n5O2JBDN69xFpfPByxzLchJQ9Rd0TFKLh6X waI93Jb3JYo/s7DmBJas787hO+z/uQYPmisANblmHkzG6cuWLC7gik717iZN3ZN7 V/USQ3x18SdSFtYdLml7u6biboxQvEU4RHiRip2zsSfYZ4v7iYXNKA5ORk9feCmV 5+lry3kBArXjQ+MMfYPBZzEhWa8DVkJWQ8N08g6uk/FO0hwxeToDhwv/JWLiCzlY vjp17tbq30AtCMzIDjKZkYcMp9wIAlVxh4uxSZ/y+rpogxkHhOcZP/JntLwv8W2K L/aTig+nJiMdILvwVu4D5/mdBwlY5Zq69RfF0O5XZxtKtuQ7cAwCH5Km0mm0gJ+i w8GLEd7Sl51aLZgfLiHInzoTeATbpQSnVAvN2wM7z2ysqsXXolDzZAMmk55joFVI 39JKo97Mrh4OoHIbxEyI39LobbwmQDGvndHwt8DtFpdzZrDGm6+vfyWWeQymcsEG 5FHwLX5ORZMZwPimfqgf =nHI5 -----END PGP SIGNATURE----- --==-=-=--