From: Nikita Karetnikov <nikita@karetnikov.org>
To: bug-guix@gnu.org
Subject: How to adjust PKG_CONFIG_PATH?
Date: Tue, 18 Dec 2012 22:05:44 -0500 [thread overview]
Message-ID: <877goeoi69.fsf@karetnikov.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 551 bytes --]
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
[-- Attachment #1.2: udev.scm --]
[-- Type: text/plain, Size: 2194 bytes --]
;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
;;; Copyright (C) 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.
(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+))))
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2012-12-19 3:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 3:05 Nikita Karetnikov [this message]
2012-12-19 12:26 ` How to adjust PKG_CONFIG_PATH? Ludovic Courtès
2012-12-21 13:08 ` Nikita Karetnikov
2012-12-21 13:26 ` Ludovic Courtès
2012-12-24 19:03 ` Nikita Karetnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877goeoi69.fsf@karetnikov.org \
--to=nikita@karetnikov.org \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).