[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Guile development packages were found.
From: |
mbcladwell |
Subject: |
No Guile development packages were found. |
Date: |
Mon, 27 Jul 2020 06:52:52 -0500 |
User-agent: |
Horde Application Framework 5 |
Hi,
I would like to upgrade guile-json in my local store.
I start with
$guix pull
$guix package -u (didn't do anything)
Modifying the template at
https://guix.gnu.org/blog/2018/a-packaging-tutorial-for-guix/
I create the file guile-json.scm:
(use-modules (guix packages)
(guix download)
(guix build-system gnu)
(guix licenses))
(package
(name "guile-json")
(version "4.3.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://download.savannah.gnu.org/releases/guile-json/guile-json-"
version ".tar.gz"))
(sha256
(base32
"0255c7f053z4p9mqzhpxwbfx3y47j9nfvlgnm8xasdclyzmjl9y2"))))
(build-system gnu-build-system)
(synopsis "Hello, Guix world: An example custom Guix package")
(description
"GNU Hello prints the message \"Hello, world!\" and then exits. It
serves as an example of standard GNU coding practices. As such, it supports
command-line arguments, multiple languages, and so on.")
(home-page "https://www.gnu.org/software/hello/")
(license gpl3+))
Then I run:
$guix package --install-from-file=./Downloads/guile-json/guile-json.scm
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be upgraded:
guile-json 3.2.0 → 4.3.2
The following derivations will be built:
/gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv
/gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv
The following profile hooks will be built:
/gnu/store/3z61qjph0ww2bizg904vmqn6p5cwgcyq-fonts-dir.drv
/gnu/store/9nnjb0y55hb5ai9ss3zrljyx6npxqjip-ca-certificate-bundle.drv
/gnu/store/jmris7xjszh69gci0mpxw76isrirb9dk-info-dir.drv
/gnu/store/yyp1p3mpsz5azfl59sdlncr0zcscj6qx-manual-database.drv
building /gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv...
| 'configure' phasebuilder for
`/gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv'
failed with exit code 1
build of
/gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv failed
View build log at
'/var/log/guix/drvs/w5/8xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv.bz2'.
cannot build derivation
`/gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv': 1
dependencies couldn't be built
guix package: error: build of
`/gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv' failed
Looking at the log file, the final lines are:
checking for pkg-config... no
configure: checking for guile 3.0
configure: checking for guile 2.2
configure: checking for guile 2.0
configure: error:
No Guile development packages were found.
Please verify that you have Guile installed. If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages. If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
command
"/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash"
"./configure" "CONFIG_SHELL=/gnu/store/29jhbbg1hf55$
I am on Debian 9 working with guile v 2.2.7, dev files are installed:
apt-get install guile-2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
guile-2.0-dev is already the newest version (2.0.13+1-4).
In my .bashrc I set the variable such that at the terminal prompt:
echo $PKG_CONFIG_PATH
/home/mbc/.guix-profile/lib/pkgconfig
Where did I go wrong?
Thanks
Mortimer